1. Tompakidf2
  2. Commercial Templates
  3. Friday, 18 September 2015
  4.  Subscribe via email
Hello,
I believe it is important for me to be able to have smaller padding for the main content class="maincontent" on mobile devices. The current padding is too big. Do you have any suggestion on how to fix this?

Regards,
Ach
Accepted Answer Pending Moderation
0
Votes
Undo
HI Ach

Would you have a URL to an example of your content? The solution would vary slightly depending on your template.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
It is http://www.athensairporttaxi.com and the template Joomla51 Central
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you Ach

To amend try adding the following to the Custom CSS field of your templates parameters (edit to taste - default 35px)..


@media only screen and (max-width: 767px) {
.maincontent {
padding-left: 20px;
padding-right: 20px;
}
}


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 3
  • Page :
  • 1


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

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.