1. kjars.dk
  2. Commercial Templates
  3. Wednesday, 09 July 2014
  4.  Subscribe via email
Hello

Is it possible to edit the itemprop="articlebody"?
I want to set a color insite the box, but where or how to do it in the css?
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Would you have a URL to an example of the box?

Your best option is probably to use a CSS attribute selector... something like the following...


input[itemprop="articlebody"] {
background: #DDDDDD;
}


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hmm dont look like it works.. I still got the same background and not the new color

It's here my problem for example are http://frank.newzite.dk/index.php/about
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you for the URL..

The itemprop is case sensitive and is for a div so your CSS would be the following...


div[itemprop="articleBody"] {
background: #DDDDDD;
}


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Thanks.. I got it now, after using !important in the css rule, then it worked :)
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Great :)

Thank you for the update!

Ciarán
  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!