Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Increase logo size on mobile

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #254410
    Fabulo
    Participant

    Hi,
    how can I increase the logo size in the following website? In mobile version it appears too small.

    http://www.la-notizia.net/

    #254425
    JeroenR
    Participant

    Your .site-branding DIV has a max-width of 43%. Maybe you can set that to a higher percentage using a media query for mobile?

    #254426
    Fabulo
    Participant

    Hi JeroenR,
    thanks for your reply.

    In my style.css file there only the DIV, but not that max-width of 43%.

    I’ve tried to add the following code to Custom CSS, but it doesn’t work:

    @media (max-width: 767px) {
    .site-branding {
    max-width: 73%
    }
    }

    #254427
    JeroenR
    Participant

    The style is set in a style element in de header with the id wp-custom-css.
    In there you can find the line .site-header .site-branding {max-width: 43%;}
    You can probably override it by setting the selector to .site-header .site-branding in your media query to make it as specific as in the style element described above.
    And make sure that your custom stylesheet is called last.

    #254428
    Fabulo
    Participant

    Thanks JeroenR, it works.

    For those who have the same problem, here’s the solution:

    @media (max-width: 767px) {
    .site-header .site-branding {max-width: 75%;}
    }

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘CSS’ is closed to new topics and replies.