increase logo size on all display sizes

hello, i would like to increase the logo size of my website ( https://kaurlaywer.com ) , it is way too small


i fixed the desktop version with this:

.logo-main {

max-height: 240px !important;

max-width: 240px !important;

}


but this doesnt work for mobile or tablet because some media query overwrites the css i use. how do i fix this, also right now i have removed all custom css for logo from my site. please help me

Comments

  • Hi,

    Sorry, but the link you have sent is not working.

    Are you sure that you attached the correct URL?


    Best regards

  • i have added this as a temporary workaround


    @media (max-width: 1024px) {

    .logo {

    display: none !important;

    }

    }


    the client needs to use the site immediately

  • Please, try the following one instead:

    html #Header_creative #Top_bar #logo img.logo-sticky{
       max-height: 100%!important;
    }
    #Header_creative #Top_bar #logo{
       height: 300px!important;
    }
    @media only screen and (max-width:767px){
       #Header_creative #Top_bar .logo #logo img{
       max-height: 60%!important;
     }
    }
    

    Thanks

  • This has increased the size of logo on mobile but added a huge amount of space between the logo and the menu when opening it on mobile. im sure it has something to do with this code


    1. #Header_creative #Top_bar #logo{
    2.  height: 300px!important;
    3. }


    changes are live on site

  • Please, replace the last part from the previous code with the following one:

    @media only screen and (max-width:767px){
      #Header_creative #Top_bar .logo #logo img{
      max-height: 100%!important;
     }
       #Header_creative #Top_bar #logo{
      height: 150px!important;
     }
    }
    

    Thanks

  • thank you that has solved my problem

Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.