coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: dazkeirle on December 18, 2007, 12:17:52 PM

Title: Removing "::" from menu and external border
Post by: dazkeirle on December 18, 2007, 12:17:52 PM
Hi all.

I've recently been integrating the very lovely and simple coppermine into my website : http://gallery.ku990.co.uk.

I'm fairly adept at modifying css and the like however with coppermine i cannot seem to remove either the "::" from between each menu item and also the outside 1px black border.

Anybody have any ideas how i can do this?

Regards...
Title: Re: Removing "::" from menu and external border
Post by: dazkeirle on December 18, 2007, 12:31:19 PM
I also have another issue,

The frontpage view of the gallery is the perfect width, however when i click on a wallpaper all of the sudden the wrapper shrinks by around 20px each side and stays like this for the remainder of the pages.

any ideas?
Title: Re: Removing "::" from menu and external border
Post by: Joachim Müller on December 19, 2007, 08:36:38 AM
Quote from: dazkeirle on December 18, 2007, 12:17:52 PM
I'm fairly adept at modifying css and the like however with coppermine i cannot seem to remove either the "::"
Not related to CSS - this is content added, not just formatting using CSS. You have to edit themes/yourtheme/theme.php. Find  // HTML template for template sys_menu spacer
  $template_sys_menu_spacer ="::";
and modify as you see fit. If that section doesn't exist in your custom theme, copy that piece of code from themes/sample/theme.php into a new line before?>of the file themes/yourtheme/theme.php
Additionally, you have to make sure that THEME_HAS_NO_SYS_MENU_BUTTONS is not defined.
If you can't figure out, post details (i.e. zip your custom theme and attach it to your posting using "additional options" when composing your message).

Quote from: dazkeirle on December 18, 2007, 12:17:52 PM
also the outside 1px black border.
Use the web developer toolbar to figure this out.

Quote from: dazkeirle on December 18, 2007, 12:31:19 PM
I also have another issue
Then start a separate thread. We have a strict "one question per thread" policy that you agreed to respect when signing up.
Title: Re: Removing "::" from menu and external border
Post by: dazkeirle on December 19, 2007, 01:58:59 PM
Hi there,

Very sorry, i didn't read the t's & c's properly (who does) but now i know I'll ensure i follow them.

I fixed the 1px border issue. Whoever developed the "classic" theme thought it would be clever to style that inline in the template.html (nice work ;)) and so web toolbar didn't pick it up. There was me thinking that all styling should be in your css file.

As for the menu stuff, my theme.php is empty so I'll have to investigate.
Title: Re: Removing "::" from menu and external border
Post by: Joachim Müller on December 19, 2007, 03:57:26 PM
Quote from: dazkeirle on December 19, 2007, 01:58:59 PM
As for the menu stuff, my theme.php is empty so I'll have to investigate.
Do as I suggested:
Quote from: GauGau on December 19, 2007, 08:36:38 AM
If that section doesn't exist in your custom theme, copy that piece of code from themes/sample/theme.php into a new line before?>of the file themes/yourtheme/theme.php