Jump to content

Archived

This topic is now archived and is closed to further replies.

fordtheword

Removing padding from bottom of logo

Recommended Posts

fordtheword

I've searched on the forums, and even though I found similar problems, nothing added there seems to help, or I don't really know where to put the CSS needed.

I've added a logo using a text box (also tried Image Box (Media Box) with the same results) but I can't remove the bottom padding in my logo. I simply want it "on top" of the menu. How can I achieve this? Does it really need to be so complicated? Please take a look at the attached picture.

Thanks

Share this post


Link to post
Share on other sites
Danny

Hi,

What do you mean by on top of the menu ?

Also, can you provide a link to the site in question please.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
fordtheword

Hello Danny, I'll send you the link here.

What I mean is that I want it closer to the menu than it is now. The left and top position is good, but the bottom position (of the logo) still adds a few pixels that I don't want, for some reason. So I want it as close to the menu as possible.

http://akfab.se

Thanks.

Share this post


Link to post
Share on other sites
Danny

You will want to remove the padding from your UberMenu section, try the following:

 

.section-ubermenu-megamenu-adapter .pl-section-pad {
padding: 0;
}

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
fordtheword

Thanks for replying Danny. I entered it but it didn't seem to have too much effect. You can take a look.
I hope I'm correct in entering this into the Styling Classes field in the Ubermenu Adapter.

Thanks

Share this post


Link to post
Share on other sites
Danny

Where did you add the code, as I am not seeing it when viewing your site.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
fordtheword

Hello, as I said, I added it into the:
 

Standard Options
Styling Classes 

Of the:

UberMenu MegaMenu Adapater 
 

Share this post


Link to post
Share on other sites
Danny

You do not add custom code to the styling classes field. Only custom classes go into there.

You need to remove the custom CSS from the styling classes field and add it to DMS Toolbar > Custom > Custom CSS/LESS editor.

 

Like so - http://d.pr/i/R23N


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
fordtheword

Ah! That would explain a lot, sorry about that. It worked perfectly and was exactly what I was looking for! You've been most helpful. Thank you Danny! :)

Share this post


Link to post
Share on other sites
Danny

No problem, happy to help!


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

×