Button in menu

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Mon Sep 21, 2015 3:22 pm
Reply with quote
Report this post
Hi
Could you help me to add a menu item showed as a button? Attached the image to show you what I want.

Technology news reviews portal Joomla template GavickPro.png


Thanks in advance
Regards
User avatar
Expert Boarder

GK User
Mon Sep 21, 2015 5:21 pm
Reply with quote
Report this post
This kind of button is implemented in creativity template. Sadly porting it to another template isn't easy (it requires php and css modification). You can try to do it manually using firebug/chrome dev tools. Also advanced menu parameters can help you to create custom class for that button (then no php modification would be needed).
User avatar
Moderator

GK User
Wed Sep 23, 2015 11:48 am
Reply with quote
Report this post
Thanks for your reply Cyberek

Regards
User avatar
Expert Boarder

GK User
Sat Sep 26, 2015 12:28 pm
Reply with quote
Report this post
Please let me know if you would like to try to do some customisations by your self and you would stuck somewhere on the way.
User avatar
Moderator

GK User
Mon Sep 28, 2015 4:09 pm
Reply with quote
Report this post
Hi Cyberek

I created a new style for the button, in order to be able to add to menu additional class:

btnmenu1.png


But the problem is it is added twice:

Code: Select all
<li class="last btnmenu">
<a href="http://gestion.webexpertia.eu/cart.php?a=add&amp;pid=390" class=" last btnmenu" id="menu434">Empezar gratis</a>
</li>


One in the li and another one in the a class.

How to solve it?

Thanks in advance
User avatar
Expert Boarder

GK User
Tue Sep 29, 2015 8:11 pm
Reply with quote
Report this post
If you want to address only one of it you can use:
Code: Select all
li.btnmenu {}
a.btnmenu {}
User avatar
Moderator


cron