Viewing Applying a Master page has corrupted my Navigation CSS code

Applying a Master page has corrupted my Navigation CSS code



User: Christopher 11 years ago
I created a Master template and applied it to all my pages which were created before this was implemented. Pretty cool how it works and quite easy to figure out. I like it! But now some of the css I'd added to my navigation window has gone haywire. It's like there's a white shadow or outline on my navigation titles. And the opacity and rounded edges, etc. of the dropdown have all disappeared.

You can see for yourself at cleetche.com - just go to Documentaries or something.

And here's the code I was using, compliments of Roddy (who I would've pm'd if that were possible!):

<style type="text/css">
/* NAVIGATION BAR*/
#navmenu_menu0 ul ul li a {
padding: 0px 0px 0px 10px;
text-shadow: 1px 1px 2px #000;
}

/* Rounded bottom.*/
#navmenu_menu0 ul ul li:last-child a {
border-radius: 0 0 7px 7px;
-moz-border-radius: 0 0 7px 7px;
-webkit-border-radius: 0 0 7px 7px;
}

/* Opacity */
#navmenu_menu0 ul ul {background: none}
#navmenu_menu0 ul ul li a,
#navmenu_menu0 ul li.active li a,
#navmenu_menu0 ul li:hover ul li a {background: rgba(0,0,0, 0.6); /* Opacity value from 0.1 to 1 */
}
</style>

Last edit 11 years ago

-------------------------------
rMBP 15", 2.6 Ghz, 16 GB RAM, OS X 10.11.6, with 27" Thunderbolt Cinema Display

www.cleetche.com
User: Roddy 11 years ago
You now have the menu CSS twice in the head of the page HTML doc.

The first one is the original - #navmenu_menu0

The new one is #navmenu_menu1 so you will have to re enter all your overwrite styles with this ID number.

You should also delete the, now redundant, styles for menu0.

Oh how we complicate our lives!

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Christopher 11 years ago
Thank you, Roddy. I've solved half the problem. But my title bar in the navigation drop downs is still mucked up. It's like my red hover colour just sits on top of the white without replacing it, leaving a weird outline. Help!

Last edit 11 years ago

-------------------------------
rMBP 15", 2.6 Ghz, 16 GB RAM, OS X 10.11.6, with 27" Thunderbolt Cinema Display

www.cleetche.com
User: Christopher 11 years ago
Oops. I had the nav text in my masters page. All fixed now!

-------------------------------
rMBP 15", 2.6 Ghz, 16 GB RAM, OS X 10.11.6, with 27" Thunderbolt Cinema Display

www.cleetche.com


Post Reply
You must login or signup to post.