Advertisement

White Space between Rows in Article

General questions relating to Joomla! 5.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
Sam908Ltd
Joomla! Apprentice
Joomla! Apprentice
Posts: 22
Joined: Mon Mar 04, 2024 4:00 pm

White Space between Rows in Article

Post by Sam908Ltd » Thu Jan 16, 2025 4:12 pm

Hello, please see the following page:
https://www.gardenlabelling.co.uk/compo ... Itemid=111

I am hoping to reduce the white space between each row...At the moment I have been altering the custom position by changing the number in the 'From Y-axis' box but I feel like there must be an easier and less time consuming way to do this!

If anyone can let me know how to reduce the white area so that the images and the text can all be close together that would be great.

Thanks
Sam

Advertisement
User avatar
Yiannistaos
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 206
Joined: Sat Aug 08, 2009 11:37 am
Contact:

Re: White Space between Rows in Article

Post by Yiannistaos » Thu Jan 16, 2025 5:10 pm

Hi Sam,

Please include the following in your CSS:

Code: Select all

.page-content p {  
   margin-bottom: 0.75rem;  
}  
If you prefer, you can reduce the bottom margin to 0.5rem for less space.

Image
PHP Developer with 15+ Years in Web Development
Creator of Web357.com with 8.5k+ Happy Joomla! Users
Passionate About PHP, JavaScript, React, and Joomla!
Find my Joomla! Extensions at https://www.web357.com

Sam908Ltd
Joomla! Apprentice
Joomla! Apprentice
Posts: 22
Joined: Mon Mar 04, 2024 4:00 pm

Re: White Space between Rows in Article

Post by Sam908Ltd » Mon Jan 20, 2025 4:12 pm

Yiannistaos wrote: Thu Jan 16, 2025 5:10 pm Hi Sam,

Please include the following in your CSS:

Code: Select all

.page-content p {  
   margin-bottom: 0.75rem;  
}  
If you prefer, you can reduce the bottom margin to 0.5rem for less space.

Image
Hello, thank you. I am not familiar with coding. Can you direct me where to go? Or, is there a way to do this without coding?

User avatar
Yiannistaos
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 206
Joined: Sat Aug 08, 2009 11:37 am
Contact:

Re: White Space between Rows in Article

Post by Yiannistaos » Mon Jan 20, 2025 5:29 pm

You're welcome, @Sam908Ltd! If you're not familiar with coding, no worries. In Joomla's SP Page Builder, you can easily add custom CSS:

1. Go to SP Page Builder in your admin panel.
2. Find the Custom CSS section under Settings or Page Options.
3. Paste your CSS code and save.

Let me know if you need further help!
PHP Developer with 15+ Years in Web Development
Creator of Web357.com with 8.5k+ Happy Joomla! Users
Passionate About PHP, JavaScript, React, and Joomla!
Find my Joomla! Extensions at https://www.web357.com

Sam908Ltd
Joomla! Apprentice
Joomla! Apprentice
Posts: 22
Joined: Mon Mar 04, 2024 4:00 pm

Re: White Space between Rows in Article

Post by Sam908Ltd » Tue Jan 21, 2025 11:19 am

Yiannistaos wrote: Mon Jan 20, 2025 5:29 pm You're welcome, @Sam908Ltd! If you're not familiar with coding, no worries. In Joomla's SP Page Builder, you can easily add custom CSS:

1. Go to SP Page Builder in your admin panel.
2. Find the Custom CSS section under Settings or Page Options.
3. Paste your CSS code and save.

Let me know if you need further help!
Thanks for your help! I am just struggling to locate the Custom CSS section. I am inside options in the pages section of SP Page Builder but then there is a whole load of options such as articles, banners, cache, check-in etc and I am not sure where I need to be looking. If you could direct me that would be amazing.

User avatar
Yiannistaos
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 206
Joined: Sat Aug 08, 2009 11:37 am
Contact:

Re: White Space between Rows in Article

Post by Yiannistaos » Tue Jan 21, 2025 11:54 am

PHP Developer with 15+ Years in Web Development
Creator of Web357.com with 8.5k+ Happy Joomla! Users
Passionate About PHP, JavaScript, React, and Joomla!
Find my Joomla! Extensions at https://www.web357.com

User avatar
AMurray
Joomla! Master
Joomla! Master
Posts: 10492
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: White Space between Rows in Article

Post by AMurray » Tue Jan 21, 2025 9:24 pm

@Sam908Ltd, Note instruction "go to SP Page Builder" was incorrect - the options shown in above are in the Template (Helix Ultimate), not SP Page Builder. Go to Templates > Styles, click the green button "Template options" and the above screens will be shown. You're adjusting CSS in the template, not with SP Page Builder.
(https://www.joomshaper.com/documentatio ... nager-tips)

While the custom css section above works for small amounts of code, anything more significant would need to go in custom.css (a file you create within the templates folder), equivalent to Cassiopeia's user.css.
Regards - A Murray
Global Support Moderator

Sam908Ltd
Joomla! Apprentice
Joomla! Apprentice
Posts: 22
Joined: Mon Mar 04, 2024 4:00 pm

Re: White Space between Rows in Article

Post by Sam908Ltd » Wed Jan 22, 2025 8:55 am

AMurray wrote: Tue Jan 21, 2025 9:24 pm @Sam908Ltd, Note instruction "go to SP Page Builder" was incorrect - the options shown in above are in the Template (Helix Ultimate), not SP Page Builder. Go to Templates > Styles, click the green button "Template options" and the above screens will be shown. You're adjusting CSS in the template, not with SP Page Builder.
(https://www.joomshaper.com/documentatio ... nager-tips)

While the custom css section above works for small amounts of code, anything more significant would need to go in custom.css (a file you create within the templates folder), equivalent to Cassiopeia's user.css.
Hello

Thanks for the update, that had confused me so thanks for spotting the error in the instruction! Ok so I have added the code in the Custom CSS so it now reads:

@media screen and (max-width: 768px) {
.review_mark {
position: unset;
}.page-content p {
margin-bottom: 0.75rem;
}

Have I inputted this correctly? As there hasnt been a change to the spacing...

Advertisement

Post Reply

Return to “General Questions/New to Joomla! 5.x”