How to change the size of the sidebar correctly Topic is solved

Everything to do with Joomla! 4.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
Nade001
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Mon Sep 05, 2022 7:07 am

How to change the size of the sidebar correctly

Post by Nade001 » Fri Oct 07, 2022 10:03 am

Kind people, please tell me how to change the size of the side columns correctly (the sidebar is on the right, the sidebar is on the left). I myself changed the size from 0.25% to 0.15, it seemed to work, but there was an empty column on the right (in the screenshot), and all the text on the mobile phone moved to the left. Here is the code I entered ;
body.wrapper-fluid .site-grid {
grid-template-columns: [full-start] minmax(0,1fr) [main-start] minmax(0,15%) minmax(0,30%) minmax(0,30%) minmax(0,15%) [main-end] 100px [full-end]
}

https://skr.sh/i/071022/qVkXqCPC.jpg?do ... :36:33.jpg
4411fecb-ceeb-4b1f-a38e-13326ed144a5.jpg
You do not have the required permissions to view the files attached to this post.

User avatar
Jaydot
Joomla! Guru
Joomla! Guru
Posts: 592
Joined: Sun Jun 04, 2017 12:11 pm
Location: The Netherlands
Contact:

Re: How to change the size of the sidebar correctly

Post by Jaydot » Fri Oct 07, 2022 11:36 am

Have a look at this thread:
viewtopic.php?f=815&t=995957
The fact that an opinion is widely held is no evidence whatsoever that it is not utterly absurd.
Personal website: https://jaydot.nl

Nade001
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Mon Sep 05, 2022 7:07 am

Re: How to change the size of the sidebar correctly

Post by Nade001 » Fri Oct 07, 2022 2:34 pm

Jaydot wrote:
Fri Oct 07, 2022 11:36 am
Have a look at this thread:
viewtopic.php?f=815&t=995957
Why are you directing me to a topic that the author has not found a solution to?

Nade001
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Mon Sep 05, 2022 7:07 am

Re: How to change the size of the sidebar correctly

Post by Nade001 » Sat Oct 08, 2022 4:05 pm

I found the solution to the problem myself, changed the code [main-end] 100px [full-end] to [main-end] 5px [full-end]


Post Reply

Return to “Templates for Joomla! 4.x”