Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

× Discussion about Hot Newsflash free Joomla module.

Topic-icon Set module width to % percent instead of px

More
7 years 6 months ago #770 by mosim
mosim created the topic: Set module width to % percent instead of px
Thanks for making a very nice module.

I'm using a fluid template and I was hoping there's a way to use % instead of px for the width of the module.

In this case I'd like to have the tabs area (td or otherwise) to be set at 30% allowing the text to stretch across the module.

Any thoughts?
Thanks,
m.

Please Log in to join the conversation.

More
7 years 6 months ago #773 by milos
milos replied the topic: Re: Set module width to % percent instead of px
Open default.php and change this line
width:'.$moduleWidth.'px;
to
width:100%;
. This will make entire module to be fluid width.

Also, you should change line
width:'.$infoWidth.'px;
to
width:50%;

Or try some other value. I know this solution isn't perfect, but real conversion to fluid width will require additional programming. We noted this, so we will enable fluid width option in the next release.

Please Log in to join the conversation.

More
7 years 6 months ago #807 by mosim
mosim replied the topic: Re: Set module width to % percent instead of px
Thank you for this solution Milos.

It did work but I'll wait for the next release with the fluid parameters.

Great work!
Cheers,
m.

Please Log in to join the conversation.

Time to create page: 0.108 seconds

Links, Partners and Social Media