ROCKETTHEME IS CLOSING ON JUNE 30, 2025. As a thank-you to our community, enjoy 50% off all themes with the promo code THANKYOU before we shut down.
Read our Farewell Blog Post for more details.
Re: SOLVED Remove top padding and margin from g-content
Posted 6 years 3 months ago
1. g-content is a class not an ID so it should be .g-content instead of #g-content
2. g-content is used in lots of places and that CSS statement is going to affect lots of places - I think your CSS should be more specific so you only affect what you want.
3. Did you really mean to restrict that change to just one outline with ID 17? I can't see that outline used anywhere?
4. You should really be using block variations to affect padding and margins on content. e.g. "no margin" "no padding" etc.
Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.