Top & Bottom Heading Margin CSS Code Issue

Home Forums Gillion Theme Top & Bottom Heading Margin CSS Code Issue

Home Forums Gillion Theme Top & Bottom Heading Margin CSS Code Issue

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • adeeln7
    Participant

    Dear Support

     

    Facing issue in including top & bottom margins i.e. specific to the content of the body i.e. whenever anychanges are made to the content specific portion, it also effects the sidebar.

     

    I want margins to be added specifically to the Heading in the content only; not the H3 headings in the sidebar.

     

    Tried

     

    .post-content h2, h3

    {

    margin-bottom: 35px;

    margin-top: 35px;

    }

     

     

    But it leads to change in the sidebar h3 headings as well.

    Hi @adeeln7,

     

    I hope you are well today and thank you for your question.

     

    Could you please share me the page URL from your site where the heading is displaying so that i can help you to achieve it?

     

    Best regards,
    Shufflehound team

    adeeln7
    Participant

    http://avvaaz.com/top-wedding-photographers-in-islamabad/

     

    Like her using below code

     

    .single-post h2
    {
    margin-bottom: 25px !important;
    margin-top: 35px !important;
    }

    .single-post h3
    {
    margin-bottom: 18px !important;
    margin-top: 35px !important;
    color: #5b5b5b;
    }

     

    h3 headings in the sidebar are replicating top & bottom margins.

    I want margins to replicate in the post content area only.

    Dont want margins to replicate in the sidebar.

    To achieve this instead of your initial shared CSS code, please use the below CSS code.

     

    #content .post-content h2,
    #content  .post-content h3{
    margin-bottom: 35px !important;
    margin-top: 35px !important;
    }
Viewing 4 posts - 1 through 4 (of 4 total)

Popular choice

Professional Developers At Your Fingertips!

If you need services beyond standard support, we've got your back!

Services we offer:

Demo setup
Advanced customization
Layout adjustment
Graphic work / visualizations
Custom coding
Full WordPress development and design

Services

What we can offer

  • Demo setup +

    If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.

  • Layout adjustment +

    We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.

  • Advanced customization +

    More complex styling changes, theme option modifications, and third-party integrations.

  • Custom coding +

    If you need something that's not included in the theme, we can code it for you.

  • Graphic work / visualizations +

    Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.

  • Full WordPress development and design +

    Full website builds, custom theme development, or plugin creation from scratch.

  • About pricing +

    We'll provide a clear quote based on what you need. No hidden fees.

Professional Developers At Your Fingertips!

Custom Work Form