1. keithvb
  2. Sherlock Holmes
  3. Commercial Templates
  4. Thursday, 05 December 2013
  5.  Subscribe via email
How can I overwrite the inline styles?
For example in the following (listed as "inline:225" by FireFox Inspector) I'd like to change color and opacity
#container_header {
background-color: rgba(255, 255, 255, 0.1);
}
I've created custom css but the inline style overwrite it.

thanks...
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Keith

Try using !important.. for example..


#container_header {
background-color: rgba(255, 255, 255, 0.1) !important;
}


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Thanks!
It works.
I wonder where the inline style came from...
Any idea?

thanks again,

Keith
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Keith

Any styling that is loaded from the templates parameters will be inline. Such styling is loaded from your templates styles.php (../templates/j51_kindle/php/styles.php).

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Hello!

Nothing happens...

I try created custom css and add code.

I wan't more oppacity to #container_spacer2
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Thanks again, Ciarán.
I'll dig into styles.php...
  1. more than a month ago
  2. Commercial Templates
  3. # 5
  • Page :
  • 1


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