Quantcast
Channel: polylang – WordPress.org Forums
Viewing all articles
Browse latest Browse all 11471

stemati on "[Plugin: polylang] CSS styling not working"

$
0
0

Hi

Using ploylang, I want to show the flags horizontally without leading bulletpoints. I have appended the style into my style.css, but the change does not work.

I am using:
- WP 4.0
- polylang 1.5.6
- Moda theme
- http://www.la-iris.com
- Permalink settings: Post Name
- Front page: static
- Polylang settings: default

1. I have created a child theme and replicated the style.css, into which I have appended:

.lang-item {
list-style: none;
display:inline;
}

2. Into the header.php I have included:

<?php // outputs a flags list (without languages names) ?>
<?php pll_the_languages(array('show_flags'=>1,'show_names'=>0)); ?>

Thank you, Stephan

https://wordpress.org/plugins/polylang/


Viewing all articles
Browse latest Browse all 11471

Trending Articles