Support Forums

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

How to decrease the padding between component area and right column

Featured Lock Resolved Issue
Hi,
I'm using joomla 3.9.8 with Travus Template
I would like to decrease the padding between the component area and the right column.
I've tried to change the padding in the template option, but it doesn't work.

Many thanks in advance
Laura

4 Answers

Toufiq - Staff

More than a month ago #Permalink
Hi there,

Please send me the Joomla administrator access via PM.

-Thanks

Toufiq - Staff

More than a month ago #Permalink
Hi there,

Add this css code inside the custom.css file. I hope your problem will be solved.


.view-article .container {
max-width: 1610px;
padding-left: 0;
padding-right: 0;
}
.view-article .container div[itemprop="articleBody"] {
width: 100%;
left: 0;
right: 0;
margin-left: auto;
margin-right: auto;
}


-Thanks

By

More than a month ago #Permalink
Hi, thanks for your fast support. Now with your css code the padding is working on desktop device, but is not working properly on mobile and tablet device.
Anyway I have manage a little padding on the left, and I changed a little bit your css code:

.view-article .container {
max-width: 1610px;
padding-left: 100px;
padding-right: 0;
}
.view-article .container div[itemprop="articleBody"] {
width: 100%;
left: 0;
right: 0;
margin-left: auto;
margin-right: auto;
}

After this css code on desktop device is perfect, but on mobile device is worst, because I have too much padding on the left. What can I do to fix it?
Many thanks in advance
Laura


There are no replies made for this post yet.
Be one of the first to reply to this post!

Leaderboard (30 days)

Sifat

Sifat

Total Accepted Answers: 121
Paul Frankowski

Paul Frankowski

Total Accepted Answers: 112
Toufiq

Toufiq

Total Accepted Answers: 82
Kamruzzaman Alam

Kamruzzaman Alam

Total Accepted Answers: 5
FUTURECLIENT

FUTURECLIENT

Total Accepted Answers: 2

115

Templates

296350

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us