Keyword

[SOLVED] Items with own Background

  • Damon Ian
  • Damon Ian's Avatar Topic Author
  • Offline
  • New Member
More
9 years 1 month ago #141420 by Damon Ian
Items with own Background was created by Damon Ian
Hello :)

i asked this question already in the german corner.
for every item i want an different background.
i want to set the background for each item.
something like:

if i click on an smartphone item, i wanna see an smartphone background.
if i click on an pc item, i wanna see an pc background.

the whole joomla background

my english is not perfect i know :D

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 1 month ago #141435 by Krikor Boghossian
Replied by Krikor Boghossian on topic Items with own Background
Your English is fine.
You can either insert a css class from your menu item or use a simple K2 plugin to upload an image and use it as your background.

I would use the CSS class personally if all my PC items where under one category.

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

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

  • Damon Ian
  • Damon Ian's Avatar Topic Author
  • Offline
  • New Member
More
9 years 1 month ago #141436 by Damon Ian
Replied by Damon Ian on topic Items with own Background
thanks :)
do you have some codesnippets or something? im not that good on css.
i just want a different background for each category thats right

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 1 month ago #141440 by Krikor Boghossian
Replied by Krikor Boghossian on topic Items with own Background
You need to ask your template developer about the classes the body element has when you are browsing different components.
Based on these classes you will be able to construct your CSS class.

it should something like this
body.BODYCLASS { background: url(../PATHTOIMAGES/image.jpg) no-repeat 50% 50%; }

www.w3schools.com/cssref/css3_pr_background.asp

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

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

  • Damon Ian
  • Damon Ian's Avatar Topic Author
  • Offline
  • New Member
More
9 years 1 month ago #141443 by Damon Ian
Replied by Damon Ian on topic Items with own Background
thank you i try this :)

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


Powered by Kunena Forum