fixed height modules postnote template

Elegant Joomla template designed especially for both professional and personal website presentation.
GK User
Wed Apr 04, 2012 7:34 pm
Hi,

I am using the postnote template and am wondering: can I give the custom html modules a fixed height?

So e.g. in the case that there is only one newsitem the full box has the colour of the module. I tried to add a height parameter to the custom css but that doesn't do the job.

The site is at: http://nieuw.tvmarkant.nl.
Your help would be greatly appreciated.

Thanks,

Menno
User avatar
Fresh Boarder

GK User
Wed Apr 04, 2012 8:09 pm
Please try to set height with !important parameter in CSS code, we don't use hard coded height for modules because this is very not sensible solution - all dimensions you can adjust by padding margins etc. using override.css file.
User avatar
Platinum Boarder

GK User
Thu Apr 05, 2012 8:06 pm
bkrztuk wrote:Please try to set height with !important parameter in CSS code, we don't use hard coded height for modules because this is very not sensible solution - all dimensions you can adjust by padding margins etc. using override.css file.


The problem is not that the height is ignored/overruled. The height of the module is altered but the background color/image remains smaller. For an example see http://nieuw.tvmarkant.nl

I have changed the height of the top4 position but the background remains the same size.

Thanks
User avatar
Fresh Boarder

GK User
Fri Apr 06, 2012 12:25 pm
In this case the only way to set custom width is change padding in module content, by default padding for all modules is set to 15px so you can adjust this value for particular positions by code like this (this will affect only for top5 position) :

Code: Select all
#gkToptop5 div.box > div > div > div.content {padding: 15px 20px 60px!important}


and exactly the same you can change every position height.
User avatar
Platinum Boarder


cron