Control width of Offcanvas in Shaper Helixultimate Topic is solved

Everything to do with Joomla! 5.x templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
ibexweb
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Sun Mar 03, 2024 6:57 am

Control width of Offcanvas in Shaper Helixultimate

Post by ibexweb » Thu Apr 04, 2024 6:34 am

I'm totally new to using Joomla but I've put together an initial site which uses the Shaper Helix Ultimate template.

There is a string of text for the opening hours which is specified in the Contact Info in the basic config for the template. This information appears in the top line of the page and in the off-canvas menu.

When the off-canvas opens this string is truncated. I would like to make the off-canvas wider or alternatively to force the text to wrap. I have tried putting a <br> in the text itself when I enter it and that causes a break in the off-canvas but it's untidy. It also causes a break in the top line which then doubles the height of that line, and I'd like to avoid that.

Is this something I can do in the config or do I need to write some code? Sadly I am not a coder.

You can see the interim page here https://staging.northernwoodturners.org.au/index.php

User avatar
pablop76
Joomla! Intern
Joomla! Intern
Posts: 78
Joined: Sat Dec 25, 2021 10:03 am
Location: Polska
Contact:

Re: Control width of Offcanvas in Shaper Helixultimate

Post by pablop76 » Thu Apr 04, 2024 7:35 am

You're set white-space: nowrap; for "sp-contact-info li".

Use devtools and check
Paweł
Company website: https://web-service.com.pl/
- Joomla passionate, Polska, Skierniewice

ibexweb
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Sun Mar 03, 2024 6:57 am

Re: Control width of Offcanvas in Shaper Helixultimate

Post by ibexweb » Fri Apr 05, 2024 3:10 am

Yep. I think I've found the section you're talking about and it's set to "white-space:pre-wrap"

I haven't found anywhere that I have specified that in the config - do you know if that's something I can configure in the template or do I need to write some code for it?

User avatar
pablop76
Joomla! Intern
Joomla! Intern
Posts: 78
Joined: Sat Dec 25, 2021 10:03 am
Location: Polska
Contact:

Re: Control width of Offcanvas in Shaper Helixultimate

Post by pablop76 » Fri Apr 05, 2024 5:44 am

Overwrite your own value white-space: normal;
custom code css
Paweł
Company website: https://web-service.com.pl/
- Joomla passionate, Polska, Skierniewice

ibexweb
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Sun Mar 03, 2024 6:57 am

Re: Control width of Offcanvas in Shaper Helixultimate

Post by ibexweb » Mon Apr 08, 2024 2:06 am

pablop76 wrote:
Fri Apr 05, 2024 5:44 am
Overwrite your own value white-space: normal;
custom code css
Thanks for your help - I was cautious to make sure I was making the change in the right place, and it seems to have worked without changing anything else.

I searched through the Helix css files for that string and it only occurred in one place so I was confident changing it wouldn't affect anything else. I added this line to the custom css for the template as a whole and it's working nicely now.
.sp-contact-info li{white-space:normal}


Post Reply

Return to “Templates for Joomla! 5.x”