Jump to content

Archived

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

1pp1k10k4m1

Center Logo Navbar

Recommended Posts

1pp1k10k4m1

I'm looking to center the logo in the navbar. Not quite sure how to go about that. Not using any special plugins (like Ubermenu) for the navbar, just whatever is used in DMS2 by default.

 

Thanks!

Share this post


Link to post
Share on other sites
1pp1k10k4m1

I got it, I don't know if it's the technically correct way to do it...probably not, so I'm still open to suggestions, but I basically just increased the padding to suit what I was trying to accomplish.

 

"MY" TWEAK:
 
.section-navbar .navbar .plbrand {
    float: left;
    line-height: 15px;
    margin: 4px 2% 0 0;
    padding: 0 40%;
}
 
DEFAULT CODE:
 
.section-navbar .navbar .plbrand {
    float: left;
    line-height: 15px;
    margin: 4px 2% 0 0;
    padding: 0 1%;
}

 

Share this post


Link to post
Share on other sites
Danny

Thanks for informing us the issue has been resolved and for sharing your code.

However, please be aware that if you encounter any issues with your NavBar from now on, we will not be able to provide assistance. As any issues will very likely be caused by custom code.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
1pp1k10k4m1

In that case, could I remove the custom code and request help?

 

Should I have done it differently?

Share this post


Link to post
Share on other sites

×