Hi.
I want put an icon (in png format) in every option of menu. I put icon between H1 tags and I can see it in tittle of every page, but not in menu.
Can you help me?
Thanks
Icons in menu
Re: Icons in menu
This can't work. The icons are only defined in stylesheet.css in your template in classes:
.doc
.docs
.sdoc
.sdocs
as replacement to standard <ul><li> bullets if list-style is set to "none".
.doc
.docs
.sdoc
.sdocs
as replacement to standard <ul><li> bullets if list-style is set to "none".
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
Re: Icons in menu
Or use the list-style-image property (CSS) to use a image as bullet.
-
- Posts: 6
- Joined: Wed Jan 26, 2011 1:45 pm
Re: Icons in menu
Hi.
I don't want put a same image in every option of menu, like a button.
I need put a different image in every H1 tag (perhaps H2 and H3 also).
I try an image in H1 tag and it is showed in tittle of the page, but not in menu.
May I change anything of TOC for this purpose?
Thanks
I don't want put a same image in every option of menu, like a button.
I need put a different image in every H1 tag (perhaps H2 and H3 also).
I try an image in H1 tag and it is showed in tittle of the page, but not in menu.
May I change anything of TOC for this purpose?
Thanks
Re: Icons in menu
Hi
You have to change stylesheet.css
This image [ external image ] is in the menu on www.tranebærparken.dk
You have to add it in the stylesheet.css like this
You have to change stylesheet.css
This image [ external image ] is in the menu on www.tranebærparken.dk
You have to add it in the stylesheet.css like this
Code: Select all
.doc {
list-style: none;
background-image: url(images/bg_menu2.gif);
background-repeat:no-repeat;
padding-left: 27px;
}
.docs {
list-style: none;
background-image: url(images/bg_menu2.gif);
background-repeat:no-repeat;
padding-left: 27px;
font-weight:bold;
}
.sdoc {
list-style: none;
background-image: url(images/bg_menu2.gif);
background-repeat:no-repeat;
padding-left: 27px;
font-weight:bold;
}
.sdocs {
list-style: none;
background-image: url(images/bg_menu2.gif);
background-repeat:no-repeat;
padding-left: 27px;
font-weight:bold;
}
-
- Posts: 342
- Joined: Thu Jun 26, 2008 8:19 pm
- Location: Germany
- Contact:
Re: Icons in menu
You can use the newsbox function as toc.
Re: Icons in menu
But in this case the TOC will not be dynamically generated. Also newsbox is a function and does not allow to use any other function on a page which has to be loaded into it. Or am I wrong?CMSimple-Styles.com wrote:You can use the newsbox function as toc.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
Re: Icons in menu
Yes, you have to remove the toc function from the template and use the sitemap to administrate the site.Tata wrote:But in this case the TOC will not be dynamically generated.
Instead the toc you can place a newsbox with a hand made navigation in the template. It's not comfortable, but you can make a graphical menu this way. For the links you can use the internal link function of FCKeditor.
But is is not an easy solution for beginners.