Website logo not working for different dimensions

Hey I’ve been messing around with my site themmaguru.com on http://whatismyscreenresolution.net/

and whenever it’s on a screen resolution 1024 x 768 or something like 1024 x 600 it’s making my logo appear over the menu messing everything up… Is there a certain css code I can place in that will help out my website?

Hello @degalbo2,

Thanks for asking. :slight_smile:

You can add following CSS under X > Theme Options > CSS:

@media screen 
  and (min-width: 1000px) 
  and (max-width: 1024px){
      .x-brand {
    width: 34%;
}
}

1- I have found the proper CSS code selector using the Chrome browser Developer Toolbar: https://www.youtube.com/watch?v=wcFnnxfA70g

2- For the CSS code itself, I suggest that you get started with this tutorial: https://www.youtube.com/watch?v=yfoY53QXEnI

Thanks.

1 Like

Hey I added that to the CSS however it didn’t help make the changes.

Hi there,

Please try this:

@media (min-width: 980px) and (max-width: 1202px) {
    .x-brand {
        width: 30%;
        margin-top: 20px;
    }    

    .x-navbar .desktop .x-nav>li>a {
        font-size: 18px; 
    }
}

Here are some reference links related to the suggestions above:

Please make sure to clear your cache after adding the code.

Hope this helps.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.