How to add a menu link/button via css?
3 posters
Page 1 of 1
How to add a menu link/button via css?
what the title says.
Last edited by Diana on November 27th 2015, 3:42 pm; edited 1 time in total
Diana- Active Poster
- Posts : 1286
Reputation : 21
Language : English
Re: How to add a menu link/button via css?
Hello,
Sorry, but you can't add links in the menu using CSS. You can do that via HTML or JavaScript.
Sorry, but you can't add links in the menu using CSS. You can do that via HTML or JavaScript.
Guest- Guest
Re: How to add a menu link/button via css?
You can add customized links and buttons to the menu here:
AP > Display >Homepage > Navigation & Headers
AP > Display >Homepage > Navigation & Headers
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: How to add a menu link/button via css?
I know but the rest of the menu is made via css and if I make a button through navigation and headers it appears lower than the rest of my menu.SLGray wrote:You can add customized links and buttons to the menu here:
AP > Display >Homepage > Navigation & Headers
The link/button is a custom one (a link to and html page) so I dunno what codes I'm supposed to use.
Like, for example, this is one of the codes I use:
- Code:
/* Index / Home */
#i_icon_mini_index{width:102px; height:57px; background:url("IMG URL") no-repeat 0 0;}
The link I want to add in the menu is http://velvet.forum.co.ee/VHH-h10.htm, I want to use a button for it.
html or javascript would be fine too if it works.
Diana- Active Poster
- Posts : 1286
Reputation : 21
Language : English
Diana- Active Poster
- Posts : 1286
Reputation : 21
Language : English
Re: How to add a menu link/button via css?
Diana wrote:anyone?
Diana- Active Poster
- Posts : 1286
Reputation : 21
Language : English
Re: How to add a menu link/button via css?
Hello @Diana, have you tried adding a rule for the button?
For example
This works for elements with lower z-index. If this doesn't work for you, you can easily create your own menu via the templates and using CSS for each and every one of the links you want.
For example
|
This works for elements with lower z-index. If this doesn't work for you, you can easily create your own menu via the templates and using CSS for each and every one of the links you want.
Forum of the Forums Forumotion Rules | Tips & Tricks | FAQ | Did you forget your password? |
*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
Re: How to add a menu link/button via css?
Thanks for the reply!Luffy wrote:Hello @Diana, have you tried adding a rule for the button?
For example
- Code:
z-index:999999!important;
This works for elements with lower z-index. If this doesn't work for you, you can easily create your own menu via the templates and using CSS for each and every one of the links you want.
Do I just make the button the normal way and then add this z thingy in the css?
Diana- Active Poster
- Posts : 1286
Reputation : 21
Language : English
Re: How to add a menu link/button via css?
can anyone help!?
Diana- Active Poster
- Posts : 1286
Reputation : 21
Language : English
Re: How to add a menu link/button via css?
@Diana try creating the menu link via the Admin Panel way mentioned above and we'll change it together and place it wherever you want using CSS.
** Please give us your forum also!
** Please give us your forum also!
Forum of the Forums Forumotion Rules | Tips & Tricks | FAQ | Did you forget your password? |
*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
Re: How to add a menu link/button via css?
http://test.forumpro.eu/
I mean the VHH button. It's clearly lower than the rest of the menu.
I mean the VHH button. It's clearly lower than the rest of the menu.
Diana- Active Poster
- Posts : 1286
Reputation : 21
Language : English
Re: How to add a menu link/button via css?
Ok @Diana, try adding this in your CSS:
- Code:
a.mainmenu[href="http://velvet.forum.co.ee/VHH-h10.htm"] img {
margin-top: -10px !important;
margin-bottom: 10px;
}
Forum of the Forums Forumotion Rules | Tips & Tricks | FAQ | Did you forget your password? |
*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
Re: How to add a menu link/button via css?
thanks, it worked!Luffy wrote:Ok @Diana, try adding this in your CSS:This should line up the button!
- Code:
a.mainmenu[href="http://velvet.forum.co.ee/VHH-h10.htm"] img {
margin-top: -10px !important;
margin-bottom: 10px;
}
Diana- Active Poster
- Posts : 1286
Reputation : 21
Language : English
Re: How to add a menu link/button via css?
Topic solved and archived
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Similar topics
» How to add a menu link/button via css? vol2
» Menu Button Request
» Cannot Change Certain Menu Button
» How to put Facebook button in top menu?
» Menu and Button Request For My Forum
» Menu Button Request
» Cannot Change Certain Menu Button
» How to put Facebook button in top menu?
» Menu and Button Request For My Forum
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum