Site logo

[Resolved] Logo size on mobile

Home Forums Support [Resolved] Logo size on mobile

Home Forums Support Logo size on mobile

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2544322
    Patricia

    Hello,
    I still have two problems on the site I just made with the Java theme:
    – The logo is very small on tablet and smartphone screens and I can’t figure out how to make it bigger.
    – My second problem is the picture at the top of the home page. I also can’t get the character climbing the stairs to show up on the cell phone.
    I’ll put the website address at the bottom.
    Thanks in advance for your help.
    Patricia

    #2544425
    Ying
    Staff
    Customer Support

    Hi Patricia,

    – The mobile logo height is controlled by the line height of the primary navigation menu item which is 50px in your case.

    If you don’t want to increase the line height of the menu item, then we can use this CSS to only change the mobile logo size:

    .mobile-header-navigation .site-logo.mobile-header-logo img {
        height: 80px;
    }

    – Do you have GenerateBlocks Pro? If so, you can use the advanced background to re-position the background image for mobile, set the background position to 70% center.

    If you don’t have GB pro, then try adding this CSS:

    @media(max-width: 768px) { 
    .gb-container-b8cfbc6e:before {
        background-position: 70% center;
    }
    }
    #2544453
    Patricia

    Hello Ying,

    Thankyou for your answer. It’s perfect for the background image 🤗
    But regarding the logo height, it doesn’t work, unfortunately.. I have copied the CSS in the additional CSS place and nothing has changed..

    #2544492
    Ying
    Staff
    Customer Support

    Your previous CSS is missing a closing bracket which causes my CSS doesn’t work 🙂
    https://www.screencast.com/t/7bgUNTrK2s

    #2544505
    Patricia

    Indeed, every detail counts in CSS! 😁
    I added the bracket, but… it doesn’t change anything 😕

    #2544536
    Ying
    Staff
    Customer Support

    When you paste the CSS, it seems created some format issue:
    https://www.screencast.com/t/1YlWNeLxqc

    Can you try removing it and pasting it again?

    #2544546
    Patricia

    Bravo Yin!
    Merci beaucoup 🤗

    #2544639
    Ying
    Staff
    Customer Support

    You are welcome! Glad to hear that 🙂

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.