- This topic has 15 replies, 2 voices, and was last updated 9 years, 8 months ago by Sakin.
-
AuthorPosts
-
March 24, 2015 at 11:41 pm #54260SteveParticipant
Hi,
I’m using Polylang with Catch Kathmandu Pro and have added the language switcher widget to the Header Top sidebar but would prefer it to display horizontally.
I have been looking at the CSS using inspect element but still cannot find the right CSS hook to change this.
Can you help please? Site is in development on http://www.attentiontodetail.eu – many thanks
March 24, 2015 at 11:57 pm #54262SakinKeymaster@Steve: try adding in the following css in “Appearance => Theme Options => Custom CSS” box:
.header-sidebar .widget_polylang li { display: inline-block; }
March 27, 2015 at 1:05 am #54425SteveParticipantHi Sakin,
Sorry for the delay – I didn’t get an e-mail notification that you’d responded ๐
Brilliant, it was the li part that I hadn’t tried. Thanks very much.
Steve
March 27, 2015 at 1:53 am #54431SteveParticipantAh, just one more question – as per polylang instructions, as I wish to use larger flags, I have created the polylang folder in wp-content and added my new flags which are height 25px and width 32px (this is so that polylang will look here rather than in the main flags folder within the plugin and the flags will not be overwritten on polylang update) and this worked in another project using the wpCasa Framework with no problem.
However, I can’t see where this happens in Kathmandu, and have tried various CSS syntax with width and height, but still the falgs display as 16×11 px.
Can you advise where this will be?
Thanks again.
Steve
March 27, 2015 at 8:13 am #54451SakinKeymaster@Steve: You have WP Super Cache plugin install so it might be that Cache issue. Go to Wp Super Cache plugin setting in your WordPress dashboard and clear the cache, then refresh your browser and check in.
March 27, 2015 at 3:54 pm #54462SteveParticipantHi Sakin,
WP Super Cache isn’t installed – there are only three active plug-ins
- Limit Login Attempts
- Polylang
- Responsive Lightbox
Steve
March 27, 2015 at 6:52 pm #54469SakinKeymaster@Steve: Maybe you have deleted/deactivate WP Super Cache without clearing the Cache. If so then you need to activate WP Super Cache and then clear the Cache first. If you check your site http://www.attentiontodetail.eu and view source it, you will see following at the end of your page.
<!-- Dynamic page generated in 0.969 seconds. --> <!-- Cached page generated by WP-Super-Cache on 2015-03-27 02:02:26 --> <!-- super cache -->
March 27, 2015 at 7:21 pm #54478SteveParticipantMarch 27, 2015 at 7:21 pm #54479SteveParticipantMarch 27, 2015 at 11:57 pm #54500SakinKeymasterDid you upload image as per the instruction in https://polylang.wordpress.com/documentation/frequently-asked-questions/the-language-switcher/
March 28, 2015 at 8:25 pm #54547SteveParticipantAccording to the instructions here:
Can I use my own flags for the language switcher?
Yes. You have to use PNG or JPG files and name them with the WordPress locale. For example, en_US.png. Then upload these files in the /wp-content/polylang/ directory (create the directory if it does not exist). Donโt use the /polylang/flags/ directory as your files would be removed when automatically updating the plugin.
I have created the directory polylang in wp-content and have uploaded the flags to this directory (I have done this on other projects too) but they’re still the small flags on this one.
Thanks
Steve
March 29, 2015 at 12:19 am #54604SakinKeymaster@Steve: I did same thing in my test server with Catch Kathmandu Pro and it’s working fine. I got big flag. I just created directory
polylang
insidewp-content
directory and upload the large image en_US.png inside newly createdpolylang
directory and it’s working fine. So, it looks like you have server issue and not theme or plugin issue. Can you activate any other theme for this site and check in?March 29, 2015 at 12:39 am #54610SteveParticipantHi Sakim,
Thank you very much for trying, I’ll see what I can see within the server. I created the folder using ftp via Filezilla and have seen it work on other projects, however, these were always on my own hosting, this one is being hosted elsewhere so, as you say, there could be a server issue.
I must add that I am impressed with the support here, I had tried several combined theme/plugin packages for this project and despite saying that they were translation-ready, they were not and the support had been non-existent (I’m still waiting for one response after three weeks!).
Best regards
Steve
March 29, 2015 at 12:44 am #54611SakinKeymaster@Steve: Thanks for your appreciation. Yes, it’s strange as the flag in working fine in my server.
March 30, 2015 at 4:33 pm #54728SteveParticipantHi Sakin,
Today I logged on and the flags are the right size! Must be some caching on the server. Thanks again for your help ๐
March 30, 2015 at 11:57 pm #54750 -
AuthorPosts
- The topic ‘Changing Polylang switcher widget display’ is closed to new replies.