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!