images in menu

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
Foton
Forum Members
Forum Members
Posts: 32
Joined: Fri May 05, 2006 10:41 pm

images in menu

Post by Foton »

Hi, is it possible to have an image before each menu-entry? Ans if so, is there any documentation to make it happen?
Regards.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: images in menu

Post by Dr.CSS »

You will have to get the id of each page unless you just want the same image for each one then it's just a matter of calling it in the menu CSS got any code or better yet a link to the page and an idea what the image is...

With a link and an image file path, uploads/images/theimage.jpg, I can work up a CSS for it...
Foton
Forum Members
Forum Members
Posts: 32
Joined: Fri May 05, 2006 10:41 pm

Re: images in menu

Post by Foton »

Indeed, I want to have a small differant image before each menu-item. I am pretty new to CSS so could you tell me how to get this page-ID and how to insert a image before the menutext?
Or maybe the most simple way; is it possible to have a sort of html-injection in de menu-textfield. Just putting would be nice...but the menu does not swallow this kind of html :-(

Thanks for your reply!
Last edited by Foton on Tue Oct 31, 2006 12:15 pm, edited 1 time in total.
sloecoach

Re: images in menu

Post by sloecoach »

Is this the sort of thing you're looking for?

http://wiki.cmsmadesimple.org/index.php ... with_icons

sloe
Foton
Forum Members
Forum Members
Posts: 32
Joined: Fri May 05, 2006 10:41 pm

Re: images in menu

Post by Foton »

Yeah, that looks like it.
I will dive into it and let it know if it works with custom icons...

Thanks for the tip!
Post Reply

Return to “Layout and Design (CSS & HTML)”