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 2 weeks ago #770 by mosim
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 2 weeks ago #773 by milos
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 1 week ago #807 by mosim
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.109 seconds

Links, Partners and Social Media