Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Home layat changes for different languages

Home / Forums / Virtue Theme / Home layat changes for different languages

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
October 8, 2018 at 1:35 am

Hi,

I am trying to modify my home layout for different languages. Finnish page should have “Best selling products” carousel and other languages “Portfolio caousel”.

I have trid from example to hide the portfolio carousel from finnish language with this:

.home-portfolio {
display: none;
}

html[lang=”en”] .home-portfolio {
display: block !important;
}

But how can I get it visible also in other languages that english? I would ned to add also sv, de, and es to the list but that does not seem to work. I also tried to put them individually but that did not work either.

My site is cool-x.fi

Thanks.

  • The forum ‘Virtue Theme’ is closed to new topics and replies.