Tagged: language selector, quick css, styling, wpml
-
AuthorPosts
-
August 9, 2013 at 1:16 pm #27503
Hi,
I’m using WPML to translate a website into 4 different languages and it works fine. The only problem that the Quick CSS for the default language doesn’t get included on the page. It does get included on the 3 other languages.
It works in danish: http://retailplanit.com.linux8.unoeuro-server.com/?page_id=734&lang=da
It works in swedish: http://retailplanit.com.linux8.unoeuro-server.com/?page_id=2652&lang=sv
It works in norwegian: http://retailplanit.com.linux8.unoeuro-server.com/?page_id=2650&lang=nb
But, as you can se, it doesn’t work in english: http://retailplanit.com.linux8.unoeuro-server.com/?page_id=2647 <- here the language selector is placed in the upper left corner, but is supposed to be the same place as on the danish, swedish and norwegian versions. I’ve copied the Quick CSS that I’ve used on the three others to the english version, but it doesn’t work.
Thanks in advance
August 10, 2013 at 8:21 am #134238Hi,
Please copy the code on your custom.css to affect all other languages. What is the css code you’re using? Please paste it here.
Regards,
Ismael
August 12, 2013 at 6:36 am #134239Hi,
As I wrote I’ve already copied the Quick CSS to all languages – but it doesn’t work on the english version.
My css is:
#lang_sel a {
border: none;
}
#lang_sel .lang_sel_sel {
padding-right: 6px;
}
#lang_sel {
width: 1030px;
margin: 0px auto 0px auto;
display: block;
z-index: 500;
}
#lang_sel li {
text-align: right;
width: auto;
clear: both;
}
#lang_sel ul {
float: right;
}
#lang_sel ul ul {
border-width: 0px !important;
}
#lang_sel a:hover {
background-color: #ffffff !important;
}
As you can see in this screenshot the CSS is there: http://clienti.dk/Files/Files/retail_planit/retailp_enfold_english_quickcss.jpg
August 12, 2013 at 8:39 am #134240Hi,
What I’m saying is, copy the code from Quick CSS to the custom.css located on the theme’s css folder. You can edit it via FTP or your cpanel.
Regards,
Ismael
August 12, 2013 at 1:17 pm #134241Aaaahhh… Okay. Sorry. I’ll try that out and see if it works.
August 13, 2013 at 7:24 am #134242 -
AuthorPosts
- The topic ‘Styling > Quick CSS missing on default language (using WPML)’ is closed to new replies.
