Jump to content
Sign in to follow this  
deniszubkov

WPML language switcher

Recommended Posts

deniszubkov

Hello. WPML language switcher does not work in the "drop-down list" mode. it obscures by the the categories item, as if he was lying on the back layer. here's the link: http://busywalkers.com/

Share this post


Link to post
Share on other sites
catrina

I searched around and this is a common problem with the WPML language switcher. Have you tried placing it somewhere else to see if the overlap still occurs?


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
deniszubkov

I tried to put it in the footer, sidebar... anywhere, the result is the same. The fact is that before this i use the Atahualpa theme and there was no such problems.

Share this post


Link to post
Share on other sites
kastelic

Is it not in drop-down mode right now?

Share this post


Link to post
Share on other sites
deniszubkov

it is. and when you hover on it, the list reveals BEHIND the categories item, so you will not see other languages ??‹??‹(Russian and German)

Share this post


Link to post
Share on other sites
deniszubkov

WPML creators said: "The language switcher is wrapped in the DIV ID lang_sel. By default, WPML applies attribute to it but the theme's CSS probably overrides it." Must use something like: DIV ID lang_sel z-index = 1000 DIV ID categories z-index = 500 Please help me to solve this issue.

Share this post


Link to post
Share on other sites
catrina

Add this CSS to your base.css file:

#lang_sel {z-index: 1000;}
	#categories {z-index: 500;}


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
deniszubkov

i put it in PlatformPro style.css it doesn't work. language menu is still at the background

Share this post


Link to post
Share on other sites
kastelic

z-index is not the problem,because the #lang_sel div is not set to position:absolute. You can do one of two things: 1. Set

#lang_sel
to
position:absolute
and the add some
top-margin
to the div below it. 2. Set the height of #
lang_sel

to something higher than it is, like 60px. Also, you should either add this in your Custom Code -> Custom CSS area in your admin, or activate the base child theme and add it to base.css. If you add it to style.css you will lose your changes when you upgrade.

Share this post


Link to post
Share on other sites
deniszubkov

thank you Jimmy for your reply. version 2 is unacceptable because doing this causes categories item move down. version 1 is what i realy want, but i need more help with it because i am not a developer.

Share this post


Link to post
Share on other sites
catrina

Here's what version 1 should look like:

#lang_sel {position:absolute;}
	div.widget-pad {margin-top: 20px;}

Add this to custom CSS or the base.css file in the child theme.


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
deniszubkov

Catrina, it works! thank you! but margin-top for the div.widget-pad moves down both sidebars. i need this action only for one sidebar (left). something like: div.widget-leftsidebar {margin-top: 20px;}

Share this post


Link to post
Share on other sites
catrina

Try this one instead of

div.widget-pad {margin-top: 20px;}
:
li.widget_categories {margin-top: 20px;}


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
deniszubkov

yes. that's it. thank you very much!

Share this post


Link to post
Share on other sites
patrryk22

well i have the same problem take i ve put this widget in header, tell where exactly shoud i change css ? www.test.spreadso.com

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

Sign in to follow this  

×