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)