TOPIC: Adding suffix module

Adding suffix module 9 years 9 months ago #5103

  • giulian
  • giulian's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Karma: 0
Hy,

How can i add a new icon for left and right module?
Last Edit: 9 years 9 months ago by giulian.
The administrator has disabled public write access.

Re: Adding suffix module 9 years 9 months ago #5110

  • linh_omg
  • linh_omg's Avatar
  • OFFLINE
  • Moderator
  • Posts: 908
  • Thank you received: 568
  • Karma: 25
Hi,
You can add your module classsuffix and then add css for your classsuffix.

For example, we add classsuffix " mod-login" for the login module at left / right. Then in css, we add this code in brown.css:
.ot-rightcolumn .module-login h3, 
.ot-leftcolumn .module-login h3 {
    background: url("../../images/brown/login-leftcol-h3-bg.png") no-repeat scroll 0 0 transparent;
}

So when choose the style for template is brown, that icon is display in heading of login module.

You can add this code to different css style files (templates/ot_boutiquebox/css/layout/*.css) to show different icon for different color styles. Or just put to layout.css to apply to all color styles.

Thanks
If you need to send us FTP access / host access, administrator access or any private information:
services(at)omegatheme(dot)com or drop a ticket www.omegatheme.com/member/
The administrator has disabled public write access.
Time to create page: 0.099 seconds