Jump to content
Sign in to follow this  
5soma2

Space after h4

Recommended Posts

5soma2    0
5soma2

I don't want a line space after an H4.

In the custon CSS I tried h4.entry-title {

margin-bottom: 2px;

}

Share this post


Link to post
Share on other sites
James B    436
James B

Hi there,

If you could be a bit more specific on which area you're trying to edit on your site. I've had a look and I can't see any H4 titles, only H2 and H3. Let me know and we'll take a look for you :)


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
5soma2    0
5soma2

Hi

It's a new page - http://www.essentiallymen.net/bonding. The h4 is Here’s what fathers and sons say about the programme:.

I want to use h4s on other pages.

The auotline issue also applies to H1, H2 and H3 headings as well. I was expecting that there would be a common piece of code that could be linked to each of these headers.

Many thanks

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Hi,

If you wish to remove the margin from the all header tags as well as paragraphs, then add the following CSS to your custom Code.


#site h1, #site h2, #site h3, #site h4, #site h5, #site h6, #site p, #site .p {
margin: 0em 0;
}[/CODE]


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Similar Content

    • Keith Vaugh
      By Keith Vaugh+
      Hi All 
       
      I have being trying to sort out the titles on the blog page with no success. URL: https://www.magva.com
       
      The CSS I have include is:
      h2 { font-family: 'Melbourne', sans-serif; font-weight: 600; font-style: normal; color: #925c21; font-size: 16px; } h4 { font-family: 'Melbourne', sans-serif; font-weight: 600; font-style: normal; color: #925c21; font-size: 16px; } If I pop an a after the h2 or h4 and before the curly brackets, it losses all formatting replacing with large font size that is defined in the theme fonts.
       
      As it is, it's not rendering the font the color that I was hoping for. 
       
      Also is it possible to force's caps on the the titles, have tried adding:
      text-transform: capitalize; and 
      text-transform:uppercase; with no success.
       
      Thanks in advance
    • loiborg
      By loiborg
      Hi there.
       
      On my website I have a page with my resume (CV). With the use of the span feature (span 3 to be exact) I'm listing a bunch of stuff in bullet points. As I have some boxes sections further down on the page I want the heading to match that. I found that using H4 gives the same size heading. Now unfortunately there's an awful lot of whitespace between the heading and the div/span (see image below). I've tried manipulating both the bottom margin, spacing and line-height of H4 as well as .row and .div in custom CSS. None of it worked. Therefore my question is:
       
      How do I reduce the space between the <H4>-tag and the span itself.
       
      <h4>Heading 4 (H4)</h4> <div class="row"> <div class="span3">  

×