Support Forums

Support Online : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Icon addon hover options

Featured Lock Resolved Task
Nice to see hover options added to the icon addon - one thing I noticed, however is that it looks like the "hover style" should be dependant on the "hover options" being enabled?


'hover_effect'=>array(
'type'=>'select',
'title'=>JText::_('COM_SPPAGEBUILDER_ADDON_ICON_HOVER_EFFECT'),
'values'=>array(
''=>JText::_('COM_SPPAGEBUILDER_ADDON_ICON_HOVER_EFFECT_NONE'),
'zoom-in'=>JText::_('COM_SPPAGEBUILDER_ADDON_ICON_HOVER_EFFECT_ZOOM_IN'),
'zoom-out'=>JText::_('COM_SPPAGEBUILDER_ADDON_ICON_HOVER_EFFECT_ZOOM_OUT'),
'rotate'=>JText::_('COM_SPPAGEBUILDER_ADDON_ICON_HOVER_EFFECT_ROTATE'),
),
'std'=>'none',
'depends'=>array(
array('use_hover', '=', 1)
)
),

3 Answers

Toufiq - Staff

More than a month ago #Permalink
Hi,

Please elaborate more details that you want to do exactly.

-Thanks

Simon Logan

More than a month ago #Permalink
To clarify, what I was meaning was that at present with new "hover" options even if you have "use hover" set to No the field which selects a type of hover is still shown in the Addon's popup in the admin area (and has a default value) and this effect is applied on the frontend of the addon. So even when USE HOVER is set to "no" the hover effect still occurs on the frontend.

My post was to say that I believe that the dependency should be added onto the end of that field in admin.php as shown in the code I posted, to first check if "use hover" has been set to YES or not? At present it doesn't seem to do that check so the hover effect is applied anyway.

Toufiq - Staff

More than a month ago #Permalink
Hi,

Thank you so much for your reply. Admin panel doesn't exist Hover option. But, you can achieve it using custom css class & write a small css.

Example
Add a class inside the colum option
http://prntscr.com/fg0f9h

.hvc .sppb-icon i:hover {
color: #ff0000;
}


-Thanks


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 142
Toufiq

Toufiq

Total Accepted Answers: 48
Shibbir

Shibbir

Total Accepted Answers: 25
Pavel

Pavel

Total Accepted Answers: 4
Rodrigo Corbata

Rodrigo Corbata

Total Accepted Answers: 3

100+

Templates

200,000+

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam