Home › Forums › Gillion Theme › Top & Bottom Heading Margin CSS Code Issue
Home › Forums › Gillion Theme › Top & Bottom Heading Margin CSS Code Issue
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
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;
}If you need services beyond standard support, we've got your back!
If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.
We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.
More complex styling changes, theme option modifications, and third-party integrations.
If you need something that's not included in the theme, we can code it for you.
Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.
Full website builds, custom theme development, or plugin creation from scratch.
We'll provide a clear quote based on what you need. No hidden fees.