[solved] Menu help

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
SusanN
Forum Members
Forum Members
Posts: 192
Joined: Wed Jun 13, 2007 5:57 pm

[solved] Menu help

Post by SusanN »

Hello,

I'm working on my very first CMS MS site and I have a question.  Can someone give me a push in the right direction?  :)

I'm not quite sure how to make my menu work in the cms.  This is how I want it to look.  I am so lost on how to do this.

Edit to add:  I figured out how to get a menu working, and it's almost styled the correct way, but not quite.  How can I remove those numbers and the styling for the current page?

The site is playm ania tam pa . com (please remove the spaces)

I'll appreciate any help you can offer! 

~Susan

Edit to add:  I'm using version 1.2.3
Last edited by SusanN on Tue Feb 12, 2008 8:09 pm, edited 1 time in total.
nivekiam

Re: Menu help

Post by nivekiam »

Here's a copy-n-paste of the CSS used in the default templates:

dfn {
display:inline;
height:0pt;
left:-1000px;
overflow:hidden;
position:absolute;
top:-1000px;
width:0pt;
}

Add that to your style sheet and the numbers go bye-bye. 

Now that was the default css from a default install.  I'm not sure why they have all that when you can also just do this:

dfn {
display:none;
}

Of course there probably is a reason and I'm far from any sort of CSS expert.
User avatar
SusanN
Forum Members
Forum Members
Posts: 192
Joined: Wed Jun 13, 2007 5:57 pm

Re: Menu help

Post by SusanN »

Thanks so much!  The current page link/title is still larger than the rest and nonclickable, but I think I like it that way.  If, however, my client does not, how do I get rid of that as well?

Thanks!
nivekiam

Re: Menu help

Post by nivekiam »

Some more CSS.  There is a layout and design (CSS & HTML) forum here for these sorts of questions:
http://forum.cmsmadesimple.org/index.ph ... ,20.0.html

You can also hit google for endless CSS tutorials.

Look at the source, you'll see there is a class defined as currentpage You can set the properties for that to match those for the other menu objects. (#navlist li)

If you're not going to use the stylesheet functionality of CMSms, I would remove the reference to {stylesheet} in your template.  It appears your server is really, really, really slow for database access so I would do anything and everything I could to improve access.

It takes 2.5 seconds (or more) to generate your home page, if it loads at all, you'll lose a lot of visitors with that.  Here is a forum topic that might help:
http://forum.cmsmadesimple.org/index.ph ... 48.15.html

If you search these forums for "speed" you might find other helpful tips & tricks.
User avatar
SusanN
Forum Members
Forum Members
Posts: 192
Joined: Wed Jun 13, 2007 5:57 pm

Re: Menu help

Post by SusanN »

Thank you so much for the information.  I'm very proficient with CSS, but I was thinking there was a special file somewhere that I couldn't locate that needed changed.  I will work on adding these styles.

Also, I had {stylesheet} in there because I thought I needed it to use global_content blocks.  I know, such a newbie.  lol  I took it out so hopefully the speed will improve.

I will read the link you gave.  Thanks!

I am really impressed with CMS MS so far.  I'm used to creating websites in Wordpress (using it as a CMS), but I'm finding CMS MS much more flexible already.  Wow!
nivekiam

Re: Menu help

Post by nivekiam »

;D  That makes more sense now.  I looked at the CSS you wrote and your own website and it looks like you know what you're doing.  As for styling in CMSms, it's really no different than styling any plain static page.  There isn't much of anything mysterious with CMSms, it's just a really easy to use CMS.

I've only played with WordPress and a few others in my efforts to find a decent, powerful, easy to use CMS.  CMSms fit the bill better than any I've looked at.

We're off topic now, I'm adding a post to the other thread I posted about speeding up CMSms.
Post Reply

Return to “CMSMS Core”