Jump to content

after upgrading to 4.5 beta 8 issue in logo


Recommended Posts

Use the below in your custom.css file - you can change the height element to either pixels or percentage whichever suits you best and you can change the width too if necessary.

.sMainHead__logo {
    max-width: 230px;
    height: 150%;
}

If you're using a custom theme, then the above may be a different element.

🙂

 

Link to comment
Share on other sites

OK add this to your custom.css file:

#elSiteTitle, #elLogo {
    margin-top: 10px;
    margin-bottom: 10px;
    height: 150px !important;
}

Change the height to whatever your logo height is, or a percentage thereof in pixels (don't use percentage sign %).

The margins can also be adjusted to suit - just gives the logo a little breathing room.

 

Edited by Davyc
Link to comment
Share on other sites

Different themes may have different element names - finding the correct CSS to change will depend on what changes the theme developer has made; therefore, some CSS changes won't work globally for all themes. Finding the correct element is usually done using the browser console, make the changes in the console and see if the changes you expect actually happen 🙂

 

Link to comment
Share on other sites

  • 1 month later...
On 7/20/2020 at 10:47 PM, bfarber said:

You should be able to change the height by adding something like this to your custom.css


:root {
	--logo--height: 100px;
}

by default it's a percentage based on the AdminCP theme setting, but you can override it with a hardcoded pixel height.

This made the logo bigger but it went pass through the whole navigation menu.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...