AppleEater Posted January 3, 2013 Share Posted January 3, 2013 Hi, I'm trying to fix blocktopmenu to load different CSS file when switching between LTR and RTL (on PS 1.5.2). I added the following code in blocktopmenu.php, but it does'nt work. Anyone can help? public function hookHeader($params) { $language = new Language($cookie->id_lang); if ($language->is_rtl) { $this->context->controller->addCSS(($this->_path).'css/superfish-modified_rtl.css', 'all'); } else { $this->context->controller->addCSS(($this->_path).'css/superfish-modified.css', 'all'); } } Link to comment Share on other sites More sharing options...
Mr Bazinga Posted July 31, 2016 Share Posted July 31, 2016 Hi everyone, i am Same from Germany and i would like to open an new Business but it dos not work, can you help me? in my Webseit i have English, German and arabic language and i have the same Problem in top menu. 1. Can enyone tel me pls how can i make top menu(Categorie) in the left colon in English and in the right colon in arabic? 2. How can i make it RTL in arabic and LTR in Englisch 3. i would like to move the left colon to up near the picture in the top 4. in the Mobile webseit i have the same problem, what do i have to do? this is the Link for the webseithttp http://ramsis24.com/en/ Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now