Hello to everyone,
I’ve created a menu bar on the top of the page and it is right-aligned. How can I set the different (left) alignment for the SUB items of this menu?
my menu looks like this:
MainMenuItem
subitem1
subitem2
subitem3
and I need like below:
MainMenuItem
-subitem1
-subItem2
-sunitem3
The problem is when I set the main menu align to left, everything goes left and the opposite. I want to set main menu to the right and the submenu items -to the left. Is it possible?
It looks so ugly now! HELP!
I’m not one to work for this kind of thing, as I have very little experience with making responsive websites, but I recommend trying to do float:right in your style sheet perhaps instead of your current setup
Basically
.hmenu {
float:right
}
and remove your text align
I have very little style sheet experience, but this should work.
Oh thank you so much for the reply!
I didn’t knew I can edit css files!!
/public_html/zyro/css/9.css
So you mean the 9.css file is the one for the navigation bar? I tried to remove line 16 but it comes back again so I’ve set text align to left. But I still can not see any changes #wb_element_instance0, #wb_element_instance0 ul { text-align: left; }
(there are a lot of css files on this directory, should I change also any other?)
Hello again, I found a css file I have to update for the home page.
When I set the value to LEFT, ALL the menu goes to left and not only the submenu items… #wb_element_instance0, #wb_element_instance0 ul { text-align: left; }
I tried to separate it #wb_element_instance0 { text-align: right; } #wb_element_instance0 ul { text-align: left; } (<–sub menu items?)
whith no success
HELP!!
Thank you for the replay!
I deleted this line from the 2.css file (the one for the home page)
Everything goes left now, and I want only the submenu left and all the main navigation items- on the right
yes!! found it!!! I found the line!!THANK YOU SO MUCH!!
so I have to edit all the css files of my site?
When I edit 2.css (the one for the home page) at file manager, page is displaying properly, but once I publish my site again it resets all the changes made on file manager window. Is there any way to edit this property for the zyro-editing version?
thank you
Olga
Hi agian!
may be you know if there is any solution for the below?
When I edit 2.css (the one for the home page) at FILE MANAGER, page is displaying properly, but once I PUBLISH my site again it RESETS all the changes made on file manager window.
Is there any way to edit this property (of submenu align) using the UI with EasyWebsiteBuilder? I can see (see attachment) only the aligment property for the main menu, not the sub items
Unfortunately no, that feature cannot do what you’re asking. And when you publish, it overwrites all changes that you make yourself. If you’re looking to do exactly that, you’ll need to copy and paste the changes somewhere, then add them whenever you publish.