Left align logo padding on desktop and mobile

Hi Guys,

I’ve set up the logo to have left padding on desktop with the following CSS:

.x-navbar .x-container.width {

padding-left: 150px !important;

}

My question to you is, how do I ask the CSS to ignore that rule on mobile and just it’s normal padding?

Hi There,

Please replace your code with:

@media(min-width: 769px) {
.x-navbar .x-container.width {

padding-left: 150px !important;
}}

Hope it helps!

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