Hi,
the images are centered, but there is probably a left margin
or padding
on the ul
element.
There is a secret feature¹ in MultilingualPress to disable our built-in stylesheet. Add the following to your theme’s functions.php
:
add_action( 'after_setup_theme', 'multilingualpress_support' );
function multilingualpress_support() {
add_theme_support(
'multilingualpress',
array(
'language_switcher_widget_style' => TRUE
)
);
}
That disables our stylesheet. Now you can style the widget in your stylesheet:
.mlp_widget {
margin: 0;
padding: 0;
}
¹ Secret = I haven written the docs yet. 🙂
Hi,
thanks for your reply.
I did the changes in functions.php. That worked and something changed in the frontend.
So, where do I have to style the widget? In the widget’s css or in the theme’s? Sorry, this might be a stupid question, but I tried in almost every css on my ftp which is somehow connected to this issue.
Thanks a lot!
Most likely your theme’s style.css