forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Davis on November 28, 2009, 07:19:46 pm

Title: SYS_MENU Font Size
Post by: Davis on November 28, 2009, 07:19:46 pm
Can someone tell me the proper way to to set the font size for your SYS_MENU links?
Title: Re: SYS_MENU Font Size
Post by: Jeff Bailey on November 28, 2009, 07:21:19 pm
edit themes/yourtheme/style.css, find
Code: [Select]
.topmenuand edit the font-size definition for this class. No PHP stuff at all, just plain CSS.

Please remember to post your link everytime  ;)
The site is http://www.bundalover.com/pics/index.php [ADULT SITE: NOT WORK SAFE] 
Title: Re: SYS_MENU Font Size
Post by: Davis on November 28, 2009, 07:42:47 pm
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;
}
Title: Re: SYS_MENU Font Size
Post by: Jeff Bailey on November 28, 2009, 07:55:02 pm
Have you edited your themes files in anyway?
Title: Re: SYS_MENU Font Size
Post by: phill104 on November 28, 2009, 08:35:28 pm
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.
Title: Re: SYS_MENU Font Size
Post by: Davis on November 28, 2009, 10:55:04 pm
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!
Title: Re: SYS_MENU Font Size
Post by: Joachim Müller on November 29, 2009, 06:25:40 pm
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.
Title: Re: SYS_MENU Font Size
Post by: Davis on November 29, 2009, 06:54:47 pm
Okay I've attached my theme in zipped format. I appreciate the help!
Title: Re: SYS_MENU Font Size
Post by: Joachim Müller on November 29, 2009, 07:08:25 pm
Looks to me like you have edited at least one core file. Please undo that.
Title: Re: SYS_MENU Font Size
Post by: Davis on November 29, 2009, 07:10:09 pm
Not sure what that is or how I did that.  Please advise.
Title: Re: SYS_MENU Font Size
Post by: Davis on December 01, 2009, 02:01:19 am
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.
Title: Re: SYS_MENU Font Size
Post by: Joachim Müller on December 01, 2009, 07:32:37 am
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 (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#14). 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 (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#theme_create_rename) first: you haven't, so your theme still runs under the name "classic", which is just plain silly and dangerous in terms of upgrading.