Jump to content

Archived

This topic is now archived and is closed to further replies.

yasharozov

navbar dropdown orientatation

Recommended Posts

yasharozov

Hi,
Please see www.eychut.org.il/wp
You will see the navbar at the top. 
The third menu item from the right, (the one with the caret to the right of it) has a dropdown. I would like to reverse the orienatation of the dropdown and consecutive submenus. As this is a Right to Left site I basically need to reverse some of  the elements.
Such as:

The caret pointing right in the submenu should be pointing left and probably be to the left of the menu item text.
The dropdown bubble itself should "move" left so it is right aligned with the menu item above it.


Anyone can get me started on the relevant CSS?  Thx a bunch :-)

Share this post


Link to post
Share on other sites
Danny

Hi,

 

I apologise but would it be possible for you to provide a concept image what it is you would like to achieve please.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
yasharozov

Thanks Danny. Im attaching my intention...

Share this post


Link to post
Share on other sites
Danny

Try adding this to your custom CSS:

 

#site .dropdown-submenu > a:after {
border-top: 5px solid rgba(0, 0, 0, 0);
border-right: 5px solid rgba(36, 36, 36, 0.6);
border-bottom: 5px solid rgba(0, 0, 0, 0);
width: 0;
height: 0;
content: "";
display: inline-block;
float: left;
border-left: 0;
}

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
yasharozov

Awesome! Thanks :-)
BTW FYI - I noticed some people asking about pagelines DMS supporting RTL.
Iv'e found that using two plugins almost solves all theme based CSS and also enables switching between a native LTR admin and an RTL frontend. One has to have a version of wordpress installed which is localized (i.e. my admin is in hebrew).

The plugins are: RTL tester and WP-RTL

Ill post this info where I see that question.

Share this post


Link to post
Share on other sites
Danny

No problem and thank you for sharing those plugins.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

×