forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: uk_martin on December 09, 2010, 10:52:56 pm

Title: Customising my new theme - Pt4 - boxes within boxes
Post by: uk_martin on December 09, 2010, 10:52:56 pm
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
Title: Re: Customising my new theme - Pt4 - boxes within boxes
Post by: Jeff Bailey on December 11, 2010, 02:21:51 am
Try
Code: [Select]
.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.
Title: Re: Customising my new theme - Pt4 - boxes within boxes
Post by: uk_martin on December 12, 2010, 12:43:17 pm
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
Title: Re: Customising my new theme - Pt4 - boxes within boxes
Post by: uk_martin on December 12, 2010, 01:21:26 pm
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
Title: Re: Customising my new theme - Pt4 - boxes within boxes
Post by: 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)-->
Title: Re: Customising my new theme - Pt4 - boxes within boxes
Post by: uk_martin on December 12, 2010, 06:53:59 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.