New Tab with image in Tab Module in Header module

GK User
Tue Jun 05, 2012 2:35 pm
i changed three images of the three tabs on this way:

.sun_tab.iphone_element { background: transparent url('../images/style1/demo/IMG-1.png')
.sun_tab.ipad_element { background: transparent url('../images/style1/demo/IMG-2.png')
.sun_tab.galaxy_element { background: transparent url('../images/style1/demo/IMG-3.png')

How do I insert the fourth image?

This way didn't work for me:
.sun_tab.new_element { background: transparent url('../images/style1/demo/IMG-4.png')

Thanks
User avatar
Senior Boarder

Konrad M
Tue Jun 05, 2012 5:27 pm
Hi,
go to the Gk Tabs module settings. Edit fourth tab and find
Code: Select all
<div class="iphone_element">iPhone app</div>

Change this div class to yours, for example "my_element" and then add to override.css
Code: Select all
.sun_tab.my_element { background: transparent url('../images/style1/demo/IMG-4.png')

Remember to enable override.css option in template settings.
User avatar

GK User
Tue Jun 05, 2012 6:55 pm
Obrigado (thanks)
User avatar
Senior Boarder


cron