- This topic has 1 reply, 2 voices, and was last updated 9 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › Gravida Support › Technical fix: Isolate header from global CSS
Hi Support Team,
I am currently customizing the design of my website www.mlbeauty.nl to achieve a high-end boutique look. I am applying global CSS rules to headers (h1, h2, h3) and buttons to achieve a specific style (letter-spacing, uppercase, and centered alignment).
The Issue:
Every time I apply these global styles, the header layout and navigation menu break. The menu items and logo inherit the centered alignment and letter-spacing, which disrupts the original header structure.
The Request:
Could you please help me isolate the header? I would like the header (logo and navigation) to be “immune” to global heading styles or to have its own unique classes that prevent it from inheriting styles like text-align: center and letter-spacing.
Specifically, I want to apply the following style to the rest of my site without it affecting the header:
* h1, h2, h3 { font-weight: 400; text-transform: uppercase; letter-spacing: 4px; text-align: center; }
Could you provide a CSS “reset” or specific selectors for my theme’s header that I can use to keep the menu layout intact while I restyle the page content?
Thank you in advance for your assistance!
Hi,
This is done.
Regards,
Dave
