SYS_MENU Font Size SYS_MENU Font Size
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

SYS_MENU Font Size

Started by Davis, November 28, 2009, 07:19:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Davis

Can someone tell me the proper way to to set the font size for your SYS_MENU links?

Jeff Bailey

Quote from: Joachim Müller on November 27, 2005, 08:23:59 PM
edit themes/yourtheme/style.css, find.topmenuand edit the font-size definition for this class. No PHP stuff at all, just plain CSS.

Please remember to post your link everytime  ;)
Quote from: Davis on November 28, 2009, 05:52:12 PM
The site is http://www.bundalover.com/pics/index.php [ADULT SITE: NOT WORK SAFE] 
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

Davis

Okay I went to style.css found the topmenu and changed the font size to 50px and nothing. No change.  Not sure why it is not working.  The site is http://www.bundalover.com/pics/index.php [ADULT SITE: NOT WORK SAFE] 

.topmenu {
        line-height : 130%;
        font-size: 50px;
}

Jeff Bailey

Have you edited your themes files in anyway?
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

phill104

Use Firefox as your browser. Using the excellent firebug plugin ( https://addons.mozilla.org/en-US/firefox/addon/1843 ) you can very quickly work out exactly what controls any element of a webpage and even test your changes live. Simply use the inspect button firebug gives and it will show you the code that produced that element and even tell you what line in the css file you need to edit.
It is a mistake to think you can solve any major problems just with potatoes.

Davis

Jeff
I uploaded a fresh theme but no change. 

Phil,
As for firefox I used the firebug but it does not show me where the code is located.

Thanks for responding guys...hopefully we can get this figured out!

Joachim Müller

The Firebug plugin is a bit too complicated for newbies. Instead, I suggest using the excellent web developer toolbar for Firefox as suggested here: http://forum.coppermine-gallery.net/index.php/topic,24056.msg123520.html#msg123520
Usually, that menu is being controlled by the mentioned class, but you appear to have edited your theme to avoid exactly that. Zip your custom theme folder and attach the zip to your next posting. Moving this thread to the board where you should have posted in the first place.

Davis

Okay I've attached my theme in zipped format. I appreciate the help!

Joachim Müller

Looks to me like you have edited at least one core file. Please undo that.

Davis

Not sure what that is or how I did that.  Please advise.

Davis

Okay so what does it mean that I've edited one core file that I should undo?  Not really sure what you mean by this.  Please advise.

Joachim Müller

There might be several of them, that could have that impact - maybe you have edited include/themes.inc.php. Impossible to tell for sure - I can just look at the output and make a guess. You should really take a note when you edit core code. To undo any possible edits, perform an update as suggested in the docs. In fact you are running an outdated version (cpg1.4.24, as the most recent stable release currently is cpg1.4.25), so you should upgrade anyway. On the way, this should undo all your edits. Before you perform the upgrade though, you need to do as suggested in the docs as well and rename your custom theme first: you haven't, so your theme still runs under the name "classic", which is just plain silly and dangerous in terms of upgrading.