Problems with the logo while using the creative menu style

Hello,

I am currently working on a website and I wanted to work with a custom logo height. So I adjusted the CSS to get this style > [Links visible only for registered users]

The CSS 

"#Top_bar #logo { margin: 0px; padding: 0px 0px; height: 345px  !important; }

#Header_creative #Top_bar .logo {
  float: none;
  text-align: center;
  margin: 0px 0;
}"

But this causes problems while adjusting the viewport to a tablet or mobile workspace. 

My question is how can I use a custom logo specifically for smaller viewports where I don't break the menu height as well?

I find this to be quite a bit limitation that the creative menu doesn't support different logo aspects than the usual wide but low logo's.

With best regards,

Comments

  • Hi,

    you should wrap above custom css into media query rules. Under [Links visible only for registered users] you can check what viewports we use so you can wrap your code into media queries responsible for desktop only.

    Thanks!
  • Ok, that will take some time to get into. Because I am not that strong with CSS and this is a new way of defining the responsive parts for me.

    But while reading the latest version changelog I saw it was possible to upload a mobile only logo. But I cannot find that function after updating? Where do I have to look for that?
  • This new option is under Theme options > Responsive section.
  • thank you for pointing that out, I was looking at the logo setup page itself. 

    But I dont fully understand your tip regarding the media queries. WHat must I do to adjust the menu/logo div size for each viewport? I can do it directly i the CSS itself. But defining it into a custom css is something I am struggling with.

  • It means that you must wrap code into media queries to apply css for the right screen sizes. For example, if you want above css to work only on large desktop screens, you should use the code as below:
    @media only screen and (min-width: 1240px) { 

        #Top_bar #logo { margin: 0px; padding: 0px 0px; height: 345px  !important; }

        #Header_creative #Top_bar .logo {
          float: none;
          text-align: center;
          margin: 0px 0;
    }
    }
  • Thank you very much for your help. This indeed fixed my problem and also gave me more insights in how the code works.


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.