set height to newspro gk4 in normal mode

Ecommerce design Joomla template to start your online business with VirtueMart and additional eshop features.
GK User
Tue Apr 03, 2012 5:04 pm
hi.

i'd like to set a vertical height to the box as a picture attached.

into this box a loaded NewsPro GK4 module.

i set basic parameters like:

suffix: color3

module mode: normal mode

but i've found the vertical height of the scroller only for vertical slider.

how i can set it up for the normal mode?

thanks.
User avatar
Senior Boarder

teitbite
Wed Apr 04, 2012 4:48 pm
Hi

You can use module class suffix for that too. For example try add " height300" (space in front is important), than in css You can specifie the height:

Code: Select all
.height300 {
height:300px;
overflow:hidden;
}
User avatar
Moderator

GK User
Wed Apr 04, 2012 5:44 pm
thanks for your reply Teitbite.

i don't understand how (or where) apply the new class i will create.

also... i've tried another triks, and it seems ok, but i don't know if it's the right way
for any future upgrade:

i've just inserted

Code: Select all
.nspMain { overflow:hidden; min-height: 244px !important; }


into the file style.css (placed into folder: mod_news_pro_gk4/interface/css)




peter.
User avatar
Senior Boarder

teitbite
Thu Apr 05, 2012 2:56 am
Hi

Yes it's also a good solution but only if You want all instanced of NSP module to have the same height. If You want to specifie it for single module than using module class suffix is better.

The new class as in this case needs to be added to css file. I advice using override.css file for any modifications, but please remember that in order to use this file You will need to allow Override in template settings.
User avatar
Moderator

GK User
Thu Apr 05, 2012 10:29 am
ok, i've understood.

thanks so much for your help.

:-)
User avatar
Senior Boarder

teitbite
Thu Apr 05, 2012 8:50 pm
Hi

Ok. Glad I could help.
User avatar
Moderator


cron