Keyword

Change color on comment box

  • John Vincent
  • John Vincent's Avatar Topic Author
  • Offline
  • Senior Member
More
10 years 2 months ago - 10 years 2 months ago #130386 by John Vincent
Change color on comment box was created by John Vincent
Hi,

On this page the comment box has a black background

clubdevo.com/index.php/item/5454-hardcore-tour-merch

I checked the code and this shows up in Firebug

<div class="itemComments" style="background:#666">

Can someone help me with where the style is begin controlled from

Thanks,

John

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 2 months ago #130387 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Change color on comment box
It is the k2.css file.
You have to override if you do not want to lose any changes when you update.
More info can be found here: getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • John Vincent
  • John Vincent's Avatar Topic Author
  • Offline
  • Senior Member
More
10 years 2 months ago #130388 by John Vincent
Replied by John Vincent on topic Re: Change color on comment box
Thanks,

I figured it out but I am still baffled as to where that style tag came from

I just added my background color and labeled it !important

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 2 months ago #130389 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Change color on comment box
In the same post, it describes the method to override php files as well.

Use this to locate item.php and the comments form to find the inline styling.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum