Customising my new theme - Pt4 - boxes within boxes Customising my new theme - Pt4 - boxes within boxes
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Customising my new theme - Pt4 - boxes within boxes

Started by uk_martin, December 09, 2010, 10:52:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

uk_martin

Can someone please tell me if it would be possible to emulate the "boxes within boxes" appearance of the phpBB overhead dropdown menu. i.e. for the dropdown to be coloured #ffdd00 but the item being hovered over being boxed in by a box with border=#ff0000 text=#ff0000 and the background color being #ffff00 There would have to be margins / padding settings too to emulate the look of the phpBB3 menu.

phpBb3 here - http://www.brummiesfans.com/main
Coppermine here - http://brummiesfans.com/coppermine/

Thanks in advance for any help.

Martin

Jeff Bailey

Try

.dropmenu li li a:hover {
border: 1px solid #D00000;
}
.dropmenu li li a {
margin-bottom: 5px;
margin-left: 5px;
margin-right: 5px;
}


Untested and not exactly what you want ... I think ... but it will give you a starting point.
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

uk_martin

Hi Jeff,

That's great. Nearly there...just need to do something to stop the drop down menu from "bouncing" when the cursor runs down it...if that can be sorted then that would be brilliant!

Thanks

Martin

uk_martin

I've changed some of the margin and padding values which has had the effect of stopping the "bouncing" when the cursor is on the dropdown menu, but stopping the "bounce" when the cursor goes down from the main menu to the dropdown is still beyond me. Any clues?

Jeff, would you have the answer to this problem please? http://forum.coppermine-gallery.net/index.php/topic,68713.0.html - I just need the top menu items to be in bold, and for the underlining to be removed from throughout the menu structure.

Thanks again

Martin

Joe Carver

FYI.....

Your gallery installation ( http://brummiesfans.com/coppermine/ ) is out of date.....

<!--Coppermine Photo Gallery 1.5.6 (stable)-->

uk_martin

Quote from: Joe Carver on December 12, 2010, 01:24:42 PM
FYI.....

Your gallery installation ( http://brummiesfans.com/coppermine/ ) is out of date.....

<!--Coppermine Photo Gallery 1.5.6 (stable)-->


It's only for the development of the theme/style. By the time I'm finished, they'll probably have released v 1.5.12  :-[  I'll be loading the theme to an up-to-date version once I'm ready to go live, so unless there are changes to the ways that the Template and CSS files are handled, I'll concentrate on what I need to do, as and when I get a chance to do it, then go live with an up to date version later.