Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: How to implement Hidemobile class code

How to implement Hidemobile class code 04 Jan 2019 16:38 #50663

Hi Cedric,

We are nearly ready with the template only hanging on the last thing. We found your manual:
www.template-creator.com/fr/blog/20-set-...your-joomla-template

We need to hide maincontent on the mobile layout. This content has no specific Joomla module but is generated by Hikashop as product/category listing and so on. So we have to place a class hidemobile inside Hikashop.
I tested if the system works with for instance hidemodule5 in a module from Joomla by the module class suffix and this works perfect.


We tried to find where inside Hikashop we have to place the class code hidemobile1, hidemobile2, hidemobile3, hidemobile4 but whatever I try it does not work probably I’m hanging on 2 things wrong code and no idea where to place. The code I tried to place to add a new class is: <div class="hidemobile1">

and we tried to place that by Hikashop in: ……../administrator/index.php?option=com_hikashop&ctrl=view (Configuration > CSS part)

But whatever I try different code, different places it does not react at all.

I know I have to ask Nicolas for Hikashop but I think my code is wrong because nothing happens.

I have no idea if I did it right I already search on all the fora, w3school and so on if you an example of working code, please help me.


Regards,

Wella

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

How to implement Hidemobile class code 05 Jan 2019 19:23 #50668

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 21386
  • Karma: 427
  • Thank you received: 2702
Hi
if you want you can simply use the custom css areas in the resonsive mode so that you can hide the maincontent like this
#maincontent display: none !important; }[/quote] CEd[code]#maincontent
display: none !important;
}[/quote]
CEd

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

Joomlack Webmaster and Developer
  • Page:
  • 1
Time to create page: 0.231 seconds

Fast and powerful creation, customizable and responsive.

Read More

Qui est en ligne

We have 562 guests and no members online