Dragonfly CMS v9 ⇒ Coppermine ⇒ Coppermine CSS? ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum Index Modules & Blocks Coppermine

Coppermine CSS? Reply to topic


I have been busy changing our coppermine theme to match our site them.

Down to my last hurdle, which is the Navigation Buttons, I've searched high and low, but they remain the standard blue. I'm beginng to think this color is hard coded somewheres perhaps?

Most obvious here.

www.junglewraiths.net/...&cat=0

While there are many refernces to "navmenu" its like nothing responds to that class whatsover, as in I can change every navmenu color to black, but nothing happens.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
2.6.18-164.11.1.el5xen/2.2.13/5.0.89-community-log/5.2.11/9.3.3.0


Please, just for a change, post in the right forum!

There's a whole forum dedicated to Coppermine issues.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


No need to "search hi & lo." Get yourself firebug add-on for FF, install, open link you supplied, right-click on a nav button and select Show in Firebug ...

.navmenu {
background: none repeat scroll 0 0 #0E72A4;
border-style: none;
color: #FFFFFF;
font: bold 12px Verdana,Helvetica,sans-serif;

style.css line 350

Pro_News CM™ - Content Management for Dragonfly CMS™

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux / 1.3.39 - 2.4.9 / 5.5.42 - 5.6.16 / 5.4.37 - 5.5.11 / 9.4


What the?

I post in the please explain if I dont know!

Yep, changed all the navmenu code, I have firebug and web dev installed.

Nothing happened, so "please explain". Very Happy

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
2.6.18-164.11.1.el5xen/2.2.13/5.0.89-community-log/5.2.11/9.3.3.0


Ah no edit button because apparently now I'm a "rulebreaker"?

Am I in the naughty bin or something? Laughing

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
2.6.18-164.11.1.el5xen/2.2.13/5.0.89-community-log/5.2.11/9.3.3.0


Seriously with a community of six people, thats a bit over the top.

I'm over having to check my last posts to see where they went too.

Good day to you all you kind sirs who have helped, you know who you are.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
2.6.18-164.11.1.el5xen/2.2.13/5.0.89-community-log/5.2.11/9.3.3.0


Moved to coppermine Forums.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


Meanwhile back at the ranch...............................

If anybody figures out why the class .navmenu means nothing, or where the NavButtons are hard coded (which I suspect may be the case), that would be terribly useful, thanks. Very Happy

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
2.6.18-164.11.1.el5xen/2.2.13/5.0.89-community-log/5.2.11/9.3.3.0


Cool your guns a bit if you are seeking help, eh? It's only been 24hrs since you posted.

You don't say what theme. But changing the following in themes/default/style/style.css starting at line 251:
.navmenu {
color: #FFF;
background: #ff0000;
border-style: none;
font-weight: bold;
font-size: 12px;
}

gives me a red background on the default theme.
Attachment: temp.png
Description
Filesize 722 B
Viewed 35 Time(s)
You are not allowed to view/download this attachment

Pro_News CM™ - Content Management for Dragonfly CMS™

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux / 1.3.39 - 2.4.9 / 5.5.42 - 5.6.16 / 5.4.37 - 5.5.11 / 9.4


Don't think you need Firebug, do you? I have FF 11, and I just select a bit of the page, right click, Inspect Element. Click the Style button bottom right and it says style.css line 360, .navmenu class.

Comment out the background definition for this block (the .navmenu class is defined more than once in the stylesheet and it's the last definition that takes precedence, hence the term "Cascading Style Sheet")

Gaming League / Cup - www.leaguecms.co.uk :: Other DragonFly modules - www.cmsdreams.co.uk

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


Err who said I didn't need firebug?, been an avid user for years now, along with webdev as well. Both fantastic products, good to see where all on the same page now.

Which is why in my very first post I mention the navmenu class not being obeyed.

I change it and nothing happens. More interestingly, I found an old Coppermine theme with NO stylesheet whatsover, and its the ONLY theme I have (of 4) with a different pagination. You can see it here on my test site.

jw.servegame.org/index...&cat=0

Thanks for all the suggestions, but I've changed navmenu with no result so far, and my live site only uses the stock coppermine theme that came with 9.3.3.0, already reupped those files a few times now.

Oh, and thanks for the removal from the sinbin nano, I'll keep plugging away at this until I figure out whats wrong.

As for "cooling" my jets" , I'm extremely patient, up to the point of having my posts added to the "rulebreakers" forum. Neutral

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
2.6.18-164.11.1.el5xen/2.2.13/5.0.89-community-log/5.2.11/9.3.3.0


Oh, ah, by process of elimination, I found this in the default/style/style.css

.navmenu { color: #FFF; background: #0E72A4; border-style: none; font-weight: bold; font-size: 12px; } .navmenu img { margin: 1px 5px; } .navmenu a { position: relative; display: block; text-decoration: none; color: #FFF; padding: 2px 5px; } .navmenu a:hover { background: #EFEFEF; text-decoration: none; color: #000; }
Its over-riding the coppermine style.css, which has the EXACT same code in it.

I'm wholly unsure which way to go from here, alter it in the teme.css and risk altering the entire site, or start trawling for all the examples of navmenu in coppermine, and create a custom class for it in the coppermine css???

I doubt I could even find it all in coppermine. 😢

BTW I'm comparing those files from a clean download of 9.3.3.1

Themes/default/styles/styles.css
Modules/coppermine/themes/default/style.css

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
2.6.18-164.11.1.el5xen/2.2.13/5.0.89-community-log/5.2.11/9.3.3.0


.navmenu is declared in two different css files, in order:
themes/halo/coppermine/style.css first
themes/halo/style/style.css after

Make sure to use only one, edit the css and then press F5 (refresh the page) or clear/disable your browser cache when testing.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


Well I didn't move you to the "Rulebreakers" forum - didn't even realise there was one!

Note that I changed the main style.css NOT the coppermine.css. You don't say where you have been changing navmenu, but I still see it unchanged.

As Kendle says it's cascading - and this is where firebug's display is easier to read than web developer's.

But best way is just to look at the HTML Source and see which is the last one that has navmenu in it. In your case at least the halo/style/style.css has those entries, so all changes to halo/coppermine/ctyle.css are moot ...

BTW, I no longer use any of the "regular" themes mostly because of the issues with the "layering" of coppermine, hard-coding, CSS, etc. But there used to be a coppermine theme which did nothing but bring coppermine into line with the main style.css. It made working with the "regular" themes more straightforward with regards to coppermine.

Pro_News CM™ - Content Management for Dragonfly CMS™

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux / 1.3.39 - 2.4.9 / 5.5.42 - 5.6.16 / 5.4.37 - 5.5.11 / 9.4


NanoCaiordo wrote
... edit the css and then press F5 (refresh the page) or clear/disable your browser cache when testing.


I find Shift-Click on Refresh easier with FF.

Pro_News CM™ - Content Management for Dragonfly CMS™

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux / 1.3.39 - 2.4.9 / 5.5.42 - 5.6.16 / 5.4.37 - 5.5.11 / 9.4

All times are UTC


Jump to: