Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Customising my new theme - Pt4 - boxes within boxes  (Read 2853 times)

0 Members and 1 Guest are viewing this topic.

uk_martin

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 186
Customising my new theme - Pt4 - boxes within boxes
« 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
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: Customising my new theme - Pt4 - boxes within boxes
« Reply #1 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.
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

uk_martin

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 186
Re: Customising my new theme - Pt4 - boxes within boxes
« Reply #2 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
Logged

uk_martin

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 186
Re: Customising my new theme - Pt4 - boxes within boxes
« Reply #3 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
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1510
  • aka 'i-imagine'
    • Home Page
Re: Customising my new theme - Pt4 - boxes within boxes
« Reply #4 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)-->

uk_martin

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 186
Re: Customising my new theme - Pt4 - boxes within boxes
« Reply #5 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 21 queries.