Removing "::" from menu and external border Removing "::" from menu and external border
 

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

Removing "::" from menu and external border

Started by dazkeirle, December 18, 2007, 12:17:52 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

dazkeirle

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...

dazkeirle

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?

Joachim Müller

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.

dazkeirle

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.

Joachim Müller

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