1. Edgar68
  2. Sherlock Holmes
  3. Commercial Templates
  4. Tuesday, 10 June 2014
  5.  Subscribe via email
Hello,
I have problems with the colors of my text in the modules associated with the color of the background image of my template.
This is just the mobile version.
Can I change the background color in the module for the mobile version by placing a custom css?
And if so ,what do I post there ?

The website is http://www.letopjevoeding.nl
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Which module postion background do you wish to change on mobile devices? For which devices (mobile or mobile/table)?

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
custom html modules wich are placed on position Sidecol B.
Mobile / tablet.
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you

Try adding the following to the Custom CSS field of your templates parameters where #ffffff is the new background color...


@media only screen and (max-width: 1024px) {
.backgrounds #sidecol_b {
background-color: #ffffff;
}}


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
@media only screen and (max-width: 959px) {
.backgrounds {display: none;}
}

this one i have also into my custom css

How can i combine them?
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

As they both apply to different properties and different screen sizes there is no way to combine this CSS.

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
When i put this inside my template.

@media only screen and (max-width: 1024px) {
.backgrounds #sidecol_b {
background-color: #ffffff;
}}

The backgroundcolor of the sidecol b is right, but then the backgroundcolor of the base 2 modules are not the same as on my pc.

Also there is an big empty space under the base 2 modules on my mobile/tablet
  1. more than a month ago
  2. Commercial Templates
  3. # 6
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Could you try replacing the suggest CSS to the following...


@media only screen and (max-width: 1024px) {
.backgrounds #sidecol_b {background-color: #ffffff;}
.backgrounds #sidecol_b {display:none;}
}


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 7
Accepted Answer Pending Moderation
0
Votes
Undo
great, thanksssss
  1. more than a month ago
  2. Commercial Templates
  3. # 8
  • 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.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok