Hi there,
Yes it is possible just change the code to this:
@media(max-width: 767px){
.home .x-navbar {
text-align: center;
}
.home .x-nav-wrap.mobile li {
text-align: left;
}
.home .masthead-inline .x-btn-navbar {
float: none !important;
display: inline-block;
width: 100%;
}
}
What I have done is to go to the front end of your website and use the Chrome Browser developer toolbar to check the body tag of the HTML, there I see different helper classes that can be used to make sure the code will be restricted to this page. I found the home
class suitable for this, and as you see in the suggested code, I wrapped all rules to the .home
class.
I suggest that you watch this video to get familiar with the concept:
I used the same tool to determine the selector of the mobile menu items which is .home .x-nav-wrap.mobile li
and added the text-align: left to make it right aligned.
Hope it helps.