Jump to content

Recommended Posts

aigo    0
aigo

Hi guys,

I tried searching on the form but with no success.

What I need to do is to write a simple css override on custom CSS code section form to reduce top margin to 0px.

Can you please help me? :(

 

Thanks

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Hi,

 

I apologise but I am not sure what you're referring to, top margin where ?

 

Can you provide more information please and also a link to your site.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
aigo    0
aigo

Sorry, you're right.

Imagine you have only the branding on you header. Now, on blow page, I see a space between the top of the page and the branding itself. How to remove that free space? 

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Hi,

 

I am not sure what you mean by blow page, are you referring to blog page ?

Also, can you please provide a link to your site, so I can see the issue first hand.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

OK!

 

In your custom CSS add the following:

body { margin-top: 0; }
#site .section-nav .content-pad { padding-top: 0; }

 

 

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
aigo    0
aigo

You the man! It works.

Now tell me: what if I place the fixed navbar UNDER the branding, and I want to remove the space for the branding?

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

The Fixed Navigation is not a section and its not possible to place it under the Branding section, you can place the NavBar section but the Fixed Nav will always be at the top of your site.

 

If the custom CSS I gave you causes an issue when you enable the Fixed, Navigation, then simply remove the CSS.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Like I said, if the custom CSS causes an issue, simply remove it, but it should cause an issue.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×