-
AuthorPosts
-
Rick Bisschop Friend
Rick Bisschop
- Join date:
- September 2014
- Posts:
- 120
- Downloads:
- 0
- Uploads:
- 47
- Thanks:
- 31
- Thanked:
- 9 times in 1 posts
August 12, 2014 at 8:41 am #200446Hi guy’s and girls,
I would like to style one category in the Joomshop menu (I touched this subject a while ago and Swissa showed me some options (but still it was kinda complicated).
Have a look here: http://www.mahersphoto.ie
One category “Canon” in the left Joomshop menu must be red colored
Not sure how to approach this, help tips are more then welcome.
Thanks in advance,
Raincheck
swissa Friendswissa
- Join date:
- November 2011
- Posts:
- 1955
- Downloads:
- 7
- Uploads:
- 277
- Thanks:
- 175
- Thanked:
- 717 times in 572 posts
August 12, 2014 at 11:07 am #545624My last suggestion was that you can change the theme for each category – not quite the same. Very difficult to do what you highlight if I understand correctly what you are trying to achieve. It would need a code rewrite to do it and that would be a pain in terms of updating etc.
I take it that you trying to promote Canon? Make them the first place to click? There is a quick way to achieve that but it would mean setting only Canon as the products on the landing page. If that is acceptable you just edit the Menu Item for home and instead of picking off ‘ all products’ you choose the Id for the category ‘Canon’.
1 user says Thank You to swissa for this useful post
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
August 12, 2014 at 11:44 am #545631Go to this File: /templates/ja_tiris/css/template.css
Add this code
.ja-box-ct .jshop_menu_level_0:first-child > a {
color: #cf1f18 ;
}
2 users say Thank You to chavan for this useful post
swissa Friendswissa
- Join date:
- November 2011
- Posts:
- 1955
- Downloads:
- 7
- Uploads:
- 277
- Thanks:
- 175
- Thanked:
- 717 times in 572 posts
August 12, 2014 at 11:54 am #545634Learn something new everyday! Raincheck can also add a different background colour there too.
Merci Chavan.
1 user says Thank You to swissa for this useful post
Rick Bisschop FriendRick Bisschop
- Join date:
- September 2014
- Posts:
- 120
- Downloads:
- 0
- Uploads:
- 47
- Thanks:
- 31
- Thanked:
- 9 times in 1 posts
August 12, 2014 at 12:08 pm #545638Thanks guy’s,
I’ll give it a go and let you know
Rain
Rick Bisschop FriendRick Bisschop
- Join date:
- September 2014
- Posts:
- 120
- Downloads:
- 0
- Uploads:
- 47
- Thanks:
- 31
- Thanked:
- 9 times in 1 posts
August 12, 2014 at 12:37 pm #545642Hi again guy’s,
That works like a charm added the following to File: /templates/ja_tiris/css/template.css
.ja-box-ct .jshop_menu_level_0:first-child > a {
background: url(../images/pattern-red.gif) #CF1F18
color: #fff
font-weight: bold;
display: inline-block;
padding: 2px 25px 2px 15px;
text-decoration: none;
text-shadow: 1px 1px 0px #bf2e2d
border-radius: 10px;
-webkit-border-radius: 10px;}
When I click on “canon” does it go “jshop_menu_level_1” or second-child
to get this red as well.–>
.ja-box-ct .jshop_menu_level_0:first-child > a {
Any way I am all ready happy with this result 🙂
-
chavan Friend
chavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
August 12, 2014 at 1:12 pm #5456491. Go to this file: /templates/ja_tiris/themes/blue/css/template.css
Replace this code
.jshop_menu_level_0_a a, .jshop_menu_level_1_a a, .jshop_menu_level_2_a a { background: url(../images/pattern-blue.gif) #58b0b2 !important; text-shadow: 1px 1px 0 #58b0b2 !important; }with
.jshop_menu_level_0_a a, .jshop_menu_level_1_a a, .jshop_menu_level_2_a a { background: url(../images/pattern-blue.gif) #58b0b2 ; text-shadow: 1px 1px 0 #58b0b2 ; }2. GO to this File: /components/com_jshopping/css/ja_tiris.css
Replace this code
.jshop_menu_level_0_a a, .jshop_menu_level_1_a a, .jshop_menu_level_2_a a { background: url(../images/pattern-red.gif) #CF1F18 color: #fff font-weight: bold; display: inline-block; padding: 2px 25px 2px 15px; text-decoration: none; text-shadow: 1px 1px 0px #bf2e2d border-radius: 10px; -webkit-border-radius: 10px; }with
.jshop_menu_level_0_a a, .jshop_menu_level_1_a a, .jshop_menu_level_2_a a { background: url(../images/pattern-red.gif) #CF1F18 !important; color: #fff ; font-weight: bold; display: inline-block; padding: 2px 25px 2px 15px; text-decoration: none; text-shadow: 1px 1px 0px #bf2e2d !important; border-radius: 10px; -webkit-border-radius: 10px; }1 user says Thank You to chavan for this useful post
Rick Bisschop FriendRick Bisschop
- Join date:
- September 2014
- Posts:
- 120
- Downloads:
- 0
- Uploads:
- 47
- Thanks:
- 31
- Thanked:
- 9 times in 1 posts
August 12, 2014 at 2:14 pm #545659Thanks Chavan,
It worked and it didn’t, when I change the .css files it will change the color to red when I click on “canon” and it’s under laying “canon” categories when clicked, but unfortunately it does it for all the other non “canon” categories as well when clicked they change into red as well.
Thanks for helping out,
Rain…
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
August 13, 2014 at 5:38 am #545785can you post me your admin details via PM, I will fix this for you.
1 user says Thank You to chavan for this useful post
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
August 13, 2014 at 12:26 pm #545838I have added this code to the end of this File: /templates/ja_tiris/themes/blue/css/template.css
.ja-box-ct .jshop_menu_level_0_a:first-child > a {
background: url("../../../../../components/com_jshopping/images/pattern-red.gif") repeat scroll 0 0 #cf1f18 !important;
text-shadow: 1px 1px 0 #bf2e2d !important;
}Please check your site and confirm. Thanks for the details
1 user says Thank You to chavan for this useful post
Rick Bisschop FriendRick Bisschop
- Join date:
- September 2014
- Posts:
- 120
- Downloads:
- 0
- Uploads:
- 47
- Thanks:
- 31
- Thanked:
- 9 times in 1 posts
August 13, 2014 at 1:15 pm #545841Thanks Chavan,
Again amazing Joomlart support!
Grtx Rain
-
AuthorPosts
Viewing 11 posts - 1 through 11 (of 11 total)This topic contains 11 replies, has 3 voices, and was last updated by Rick Bisschop 10 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum