- Posts: 3
COMMUNITY FORUM
Change color specific K2 item
- gorill1dg
- Topic Author
- Offline
- New Member
Less
More
10 years 1 month ago #131279
by gorill1dg
Change color specific K2 item was created by gorill1dg
Dear all, this is my first post out here. Hope to write it in the correct section.
I would like to know how to change the background color for a specific k2 item or a group of specific items.
For example, this is on of the page of my site I want to modify:
www.ilmondoinmano.eu/soggiorni-in-grecia/soggiorni-cefalonia.html
For some apartments/hotels i would like to put a yellow frame background color, while for others i would like to leave the frame white.
Do you think it is possibile?
Thanks for help.
I would like to know how to change the background color for a specific k2 item or a group of specific items.
For example, this is on of the page of my site I want to modify:
www.ilmondoinmano.eu/soggiorni-in-grecia/soggiorni-cefalonia.html
For some apartments/hotels i would like to put a yellow frame background color, while for others i would like to leave the frame white.
Do you think it is possibile?
Thanks for help.
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
10 years 1 month ago #131280
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Re: Change color specific K2 item
Hi. This is possible but it requires CSS/HTML knowledge. If you are not familiar with these technologies i strongly suggest to ask a developer to do it for you.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- gorill1dg
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
10 years 1 month ago #131281
by gorill1dg
Replied by gorill1dg on topic Re: Change color specific K2 item
I do have average knowledge of CSS/HTML, but I need to know what to change in the code.
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6213
10 years 1 month ago #131282
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic Re: Change color specific K2 item
Notice your site's <body> tag. In it, you'll see CSS classes specified based on various parameters. This comes from your template. Use these classes to separate your background styling.
E.g. for that specific page, you would add in your CSS file:
body.menu-soggiorni-cefalonia { background: somecolorhere; }
and this would target only this specific page. I hope you get the picture :)
E.g. for that specific page, you would add in your CSS file:
body.menu-soggiorni-cefalonia { background: somecolorhere; }
and this would target only this specific page. I hope you get the picture :)
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.