Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

Position of language switcher

More
10 years 5 months ago #137105 by Yiota
Replied by Yiota on topic Position of language switcher
Make this change in your custom.css file as well
body.themeIsRestaurant.isFrontpage section.content {display:none;}

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Luca
  • Luca's Avatar Topic Author
  • Offline
  • Junior Member
More
10 years 5 months ago #137106 by Luca
Replied by Luca on topic Position of language switcher
ok, when the browser is opened on full screen (1680x1050) I can click on the red area (see picture),
but if I resize the browser I can not click more...

Please Log in or Create an account to join the conversation.

More
10 years 5 months ago #137107 by Yiota
Replied by Yiota on topic Position of language switcher
Check the your body gets the isFrontpage class when you are in the homepage.
Make sure that the itemid's you have put inside index.php for this purpose are correct.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Luca
  • Luca's Avatar Topic Author
  • Offline
  • Junior Member
More
10 years 5 months ago #137108 by Luca
Replied by Luca on topic Position of language switcher
isFrontpage class isn't loaded in the both site
newsite.free-time-activities.com/ (my site)
website.free-time-activities.com/restaurant (the fresh demo site without modification)

I see this line on the source code
<body id="com_k2" class="viewIsItemlist layoutIsCategory itemIdIs204 themeIsRestaurant" style="">

if I add isFrontpage class (with Chrome Item Inspector), like this
<body id="com_k2" class="viewIsItemlist layoutIsCategory itemIdIs204 themeIsRestaurant isFrontpage" style="">
both site works.

But where it says to load this class?
I have added in custom.css the line body.themeIsRestaurant.isFrontpage section.content {display:none;} and the file is loaded.

Please Log in or Create an account to join the conversation.

More
10 years 5 months ago #137109 by Yiota
Replied by Yiota on topic Position of language switcher
Could you please check your index.php and let me know if this snippet of code exists on top?

<?php
if($menu->getActive() == $menu->getDefault() || in_array($itemid,array(141,144))){
$isFrontpage = true;
$nuBodyClass = $nuBodyClass." isFrontpage";
} else {
$isFrontpage = false;
}
?>

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Luca
  • Luca's Avatar Topic Author
  • Offline
  • Junior Member
More
10 years 5 months ago #137110 by Luca
Replied by Luca on topic Position of language switcher
yes, I have this one
Log in  or Create an account to join the conversation.

More
10 years 5 months ago #137111 by Yiota
Replied by Yiota on topic Position of language switcher
Try to leave the IDs 204 and 208 and remove the other ones from the default installation.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Luca
  • Luca's Avatar Topic Author
  • Offline
  • Junior Member
More
10 years 5 months ago #137112 by Luca
Replied by Luca on topic Position of language switcher
removed id 141 and 144, same problem...

Please Log in or Create an account to join the conversation.

More
10 years 5 months ago #137113 by Yiota
Replied by Yiota on topic Position of language switcher
Is it possible to provide us with access to your backend to check out your setup? I'm suspecting something there but not quite sure yet.

Thank you.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Luca
  • Luca's Avatar Topic Author
  • Offline
  • Junior Member
More
10 years 5 months ago #137114 by Luca
Replied by Luca on topic Position of language switcher
yes, how I can send you the account ?

Please Log in or Create an account to join the conversation.