Change the background colour for each menu item
txt2nite
Registered Users Posts: 39 Big grins
Hello
I'm brand new here, I just searched through the forums and couldn't find an answer so thought I'd post my question here. I'm using smug mug to create a shop for my work.
I'm just building the page and currently using the Osiris Theme. The page can be found at 'tubemapper dot smugmug', the pictures arent viewable but that's not necessary for this. I have a page with an accordion menu on the left hand side of the page. I want to change the background colour of each menu item.
For clarification I photograph the metro, and each link represents a different metro line. To get an idea of what I'm trying to create you can view my main website at tubemapper dot com and Hover over 'photos by tube line', this is what I want to permanently create on the left hand side :-)
Using the firefox's inspector, I can identify different ids and change the background colour in that browser window. However when I publish this doesn't work. This is an example of the code I was using.
.yui_3_8_0_1_1527806873869_105 {
background-color: #DC231F !important;
}
but this doesn't work when I publish. Can anyone help.
Thanks for any help or guidance
Sorry if I'm making an obvious mistake
regards
Luke
I'm brand new here, I just searched through the forums and couldn't find an answer so thought I'd post my question here. I'm using smug mug to create a shop for my work.
I'm just building the page and currently using the Osiris Theme. The page can be found at 'tubemapper dot smugmug', the pictures arent viewable but that's not necessary for this. I have a page with an accordion menu on the left hand side of the page. I want to change the background colour of each menu item.
For clarification I photograph the metro, and each link represents a different metro line. To get an idea of what I'm trying to create you can view my main website at tubemapper dot com and Hover over 'photos by tube line', this is what I want to permanently create on the left hand side :-)
Using the firefox's inspector, I can identify different ids and change the background colour in that browser window. However when I publish this doesn't work. This is an example of the code I was using.
.yui_3_8_0_1_1527806873869_105 {
background-color: #DC231F !important;
}
but this doesn't work when I publish. Can anyone help.
Thanks for any help or guidance
Sorry if I'm making an obvious mistake
regards
Luke
Tagged:
0
Comments
I'm not seeing a 'photo by tube line' on your website.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Thanks for your time
Again, I'm not seeing a 'photo by tube line' on your website. Sorry.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
You said 'tubemapper.smugmug.com' at first and there is no 'photos by tube line'. I see it on your other site. I'm getting ready to leave, so I'll come back when I get home.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
I see the different colors on your tubemapper.com site. What is the problem?
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
I assume you are talking about the 'Home, Browse and Search' nav text. Add this to your theme's custom CSS section:
If that isn't what you want, you need to be more specific.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Regards
Yep, just replace the code from above and use this instead:
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Thanks this worked a treat.