Before you ask please READ THIS

Mobile header fix required

in FatMoon Posts: 30
I have used CSS to increase logo size:

.header-horizontal .logo-container a.logo {
max-width: 270px;
}

but on mobile version the button is being cropped off. Is there a way to make the mobile version logo smaller via CSS to avoid this?
Screen Shot 2017-03-13 at 09.24.37.png
389 x 404 - 226K

Comments

  • AirAir
    Posts: 10,970
    Hello :-)

    Link to site please, so I could experiment in firebug with it.

    With kind regards.
  • Posts: 30
    sent link via PM as it’s not a public site yet. thanks.
  • AirAir
    Posts: 10,970
    Try such custom CSS:
    .header-horizontal .logo-container {
    min-width: 150px;
    }
    With kind regards.
  • Posts: 30
    thanks - great that works! Is there a way i can also adjust the padding on the button and menu so the are centred with the logo. i.e. move them down by 10px or so?
    Screen Shot 2017-03-13 at 11.33.13.png
    420 x 205 - 163K
  • AirAir
    Posts: 10,970
    Adjust padding on logo instead, as it is centered with logo, but your logo is not created to be centered :-) Drop top padding of logo for mobiles to 8px and it will look nice.
    Customizing ▸ Header settings ▸ Logo ▸Padding for mobile header

    With kind regards.
  • Posts: 30
    thanks, that does the trick!
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion