Support Forum

  • Page:
  • 1

CSS for hoverbox

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hello,



I'm using the hover box module for my site and its great!



The only problem I have is that I don't know how to change the style of the title of the module (that appears on my site). I tried putting a module class suffix, but then I don't know what to change in my CSS file template. Anyone can help me ?



Thank you,



Xanthar
  • cryiongjoker's Avatar
  • cryiongjoker
The administrator has disabled public write access.
Hi Xanthar,



The module title is generally handled in your template and depends on the suffix appended to the module in in the index.php.



You can add a module class to your template file that uses the -2 syntax by doing the following



[code:1].moduletable-myclass {font-size:16px}[/code:1]



or if it uses the -3 syntax



[code:1].module-myclass {font-size:16px}[/code:1]



The -myclass is what you put in the module class field.



Here is a tutorial on the joomla site that will help you with the other suffixes;

http://dev.joomla.org/content/view/1136/79/1/6/



An easier way to do this if you dont want to hack the template itself is to add tags to the intro to the hoverbox fields. So you can do something like this: <h2>My Hoverbox</h2> and the text will be output with the h2 tag. Just make sure you unpublish the module title.



Hope this helps.



Anthony
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers