This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Footer Widgets: Page Builder issue for multi language website

Resolved 6 replies themetheme-vantage
10 years ago · Last reply by Andrew Misplon 10 years ago

Hi, I’m relatively new to wordpress and currently working on a multilingual website (German & English). I am using the free version of the Vantage theme as it fits my project – and most probably will go premium if I get everything straight. I’m using the Polylang plugin for the languages.

I want to create a navigation in the footer (4 columns x 4 links) – so I used your Page Builder (Themes/Widges/Footer): I created a new row with four columns and added the part-navigations as individual menus with the setting “only show when lang=german”. I checked it and it looked perfect.

Then I did the same again for “only show when lang=english”. This somehow destroys the German footer-nav because for some reason the columns become really small (letters are shown vertically).

Any idea on how to fix this?

Thanks,

Heinrich

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

6
  1. Andrew Misplon Staff 10 years, 5 months ago

    Hi Heinrich

    Thanks for reaching out.

    Do you have a public URL where we can take a look at what’s going on? If you need to keep this URL private from other users, just select “Private Reply” on the bottom right of the comment box.

  2. graebig 10 years, 5 months ago

    Hi, thanks for the quick response!

    I only have a xampp installation in a virtual machine to run wordpress on. So I guess there is no possibility to do just that?

    What I can do is handing over some screenshots and code. Could that work somehow? If so: What do you need?

    Thanks!

  3. Andrew Misplon Staff 10 years, 5 months ago

    Sure :) If you don’t have a Custom CSS plugin installed, try ours. Plugins > Add New > Search for SiteOrigin CSS.

    Then at Appearance > Custom CSS we need to insert something like this:

    #footer-widgets .widget:lang(en-US) {
    	width: 25%;
    }
    #footer-widgets .widget:lang(it-IT) {
    	width: 25%;
    }

    This is saying, if the lang is en-US then set the footer widget width to 25% (four widgets). And if the lang is it-IT do the same. By replacing the lang codes and the width values you can manually set the footer widget widths. So if you had six widgets you’d set the width to 16.66 for that lang code.

  4. Andrew Misplon Staff 10 years, 5 months ago

    Reference thread:

    Thread: Footer Widgets + Polylang plugin

  5. graebig 10 years, 5 months ago

    This works just perfect – even had your tool installed already. Just lacked the creativity to get the idea I guess!

    Thanks for your help!

  6. Andrew Misplon Staff 10 years, 5 months ago

    I didn’t know about the :lang selector in CSS until recently. Super handy!

    Glad to hear that did the trick.

    All the best.

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread