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!

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.