Aligning the Menu (Header Menu Bar)
-
Hey,
I was wondering how am I supposed to make my Header Menu Bar be aligned to the right
instead of the left (the default option that comes with the theme I am using)
The theme I’m using is called Vantage, the website is currently under the address : http://spotifysolutions.wc.lt/
– I’m basically interested in doing that since I’ve translated the theme and the language I’m currently using is written from right to left (and not left to right like English)Thanks, Please help & Take care, Best Regards
-Nadav
-
.menu ul li { float: right; }You may need to change the order of menu items afterwards.
@Ygspaov
Thanks, Where am I supposed to put this code?
I’ve pasted it under :
——————————————————
/* =Custom Menu Widget in Header Area
———————————————– */
#header-sidebar .widget_nav_menu ul.menu {
margin: 0;
}
#header-sidebar .widget_nav_menu ul.menu > li {
list-style: none;
display: inline-block;
margin-right: 20px;
position: relative;
}
#header-sidebar .widget_nav_menu ul.menu > li:last-child {
margin-right: 0;
———
and it didn’t work πThe end of your stylesheet (style.css) would be a good place for it.
You can also place it in the menu section of the stylesheet.
#ygspasov
Thanks, But it’s still the same π
(After I’ve placed it in the end of the style.css and it didn’t change anything πRefresh the page once more. I see that your menu items are now floated to the right. You have made the change.
It’s still in the left for me :O lolz
Damn it πNow it says error in connecting to Databases π
I see that you have done something wrong. Undo the last change. You should know where to apply the code. If you are not sure what you are doing, don’t try it.
Ok, but you told me to put it in the end of Style.css
didn’t you?Yes, I did and it worked right. Then you did something else (I can’t imagine what), and it broke the entire site. Only you know what you have done. I haven’t touched code on your website. π
I haven’t done anything π
That’s weird, I’ve changed the style.css to how it was before I’ve changed it but it’s still not working I dont know why (In case you haven’t understood – I dont blame you)When I try to inspect your site, the browser returns the message: “Failed to load resource: the server responded with a status of 500 (Internal Server Error) ”
Thanks, I will see what I can do π
@Ygaspasov
It’s working again, I think that there was a problem with the company’s databases..
Anyways, I’ve added the code you have written at the end of my Style.css file and it’s
still on the left side πOMG it’s working now! Thank you so much!!!!!!!
The topic ‘Aligning the Menu (Header Menu Bar)’ is closed to new replies.