Jump to content

Recommended Posts

hi..

i have on my prestashop 1.5 to css[rtl.css / global.css]

global css for english and rtl for rtl lang.

i made all css good and work but the porblem i having is that rtl.css for some reason using lines from global.css and global.css overwirte the lines on rtl.css and it messing up the css when rtl lang selected..

if for example i deleting global.css it all working

so what im asking if i can force rtl.css to ignore global.css ??

Share this post


Link to post
Share on other sites

please help i cant continu my project..

 

code :

global css:

ul#header_links{ height: 25px;

position: absolute;

left: 0;

top:0;

width: auto;

z-index: 0;}

 

rtl.css

ul#header_links{ height: 25px;

position: absolute;

right: 0;

top:0;

width: auto;

z-index: 0;}

 

and the lang is currnetly set to rtl and use rtl.css but global css interfere

Edited by igal14 (see edit history)

Share this post


Link to post
Share on other sites

try to give rtl.css !important

like if you have:

ul#header_links{ height: 25px;

position: absolute;

right: 0;

top:0;

width: auto;

z-index: 0;}

 

make it:

ul#header_links {

height: 25px !important;

position: absolute !important;

right: 0 !important;

top:0 !important;

width: auto !important;

z-index: 0 !important;

}

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More