Staff replied Templates

Removing the string "Open Monday - Friday from 8:00am - 6:00pm" from the Dentro template

Asked by Pio 3 years ago Last activity 3 years ago

Hi,
I can't remove the string "Open Monday - Friday from 8:00am - 6:00pm" at the top of the "Dentro" template https://prnt.sc/DGJdE4mV_SV- .
I tried to insert the code #sp-opening-hours { display: none; } , but the times are still visible.

How can I do?

Thanks
Pio

3 replies

Mehtaz Afsana Borsha Staff

Hi

Thanks for contacting us. Could you please give me your site URL? So that I can check.

-Regards.

Mehtaz Afsana Borsha Staff

Could you please give me that specific page link? And send me your screenshot again please. Because the screenshot which you provided does not showing anything.

pepperstreet
3 years ago · edited

Hello Pio,
most likely the opening hours have been created in two possible ways:

  • check your template style settings, often this is a part of the BASIC or HEADER parameters
  • Or it is a simple Joomla CustomHTML module. Just check the Module Manager for the Top1 position. Either edit the content, or just unpublish it.

Hope this helps.


Sure, you could also use a CSS hack, but why should you leave a "wrong" information on your website?!? ;)
Anyway, the Dentro Demo seem to use a customHTML module. You could target it this way:

#sp-top1 .sp-module-content .custom {
    display: none;
}
Pio Asked this

Hi pepperstreet,
following your instructions I managed to remove the dates and times.
Now I would like to hide the bar because it is empty https://prnt.sc/ltg3YfL4VZGH.
I looked in the template structure, but couldn't find anything.

How can I do?

Thanks
Pio

Ofi Khan Staff
3 years ago · edited

Hello pepperstreet

Thanks for your help. It does not require Custom CSS. You got it right. It is indeed a module used in top1 position.

Pio,

Apology for the inconvenience. You can remove or unpublish this module to hide it.

https://prnt.sc/F5COqGM2Pqdk

To remove the header, you can go to Template Options -> Layout Builder -> Predefined Headers and switch to Classic Layout. Even you do not need to unpublish the module, if you do this.

https://prnt.sc/uImhguOL7BlT

Let me know if you need further help.

Best regards

Log in to reply.