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 Image Slider free Joomla module.

Topic-icon Adjusting the position in the module [SOLVED]

  • mikeoppeneer
  • mikeoppeneer's Avatar Topic Author
  • Visitor
  • Visitor
7 years 5 months ago - 7 years 5 months ago #534 by mikeoppeneer
mikeoppeneer created the topic: Adjusting the position in the module [SOLVED]
Hey All,

I have HOT Image Slider installed, no issues there, everything went well and the user interface is easy to use.

My issue exists with the position of the slider in the module.

Screenshot

Right now the slider is centered in the module and I would like to the entire slider to be right aligned within the module space, so the background image (fit to the module size) can appear as a fixed image on the left hand side. The background image is in place correctly but is being cut off because of the slide position

I've fiddled around with the padding and haven't been able to move the entire module to the right with success.

Any suggestions would be great, or maybe an option for left, right, center align in the UI.

Mike

*SOLUTION*

In the default.php file located in /modules/mod_hot_image_slider/tmpl/default.php

Search for:

div.wrap { (around line 29)

And edit the margin values as required.

As for left, center, and right aligning. If you add another CSS attribute to this tag then it appears to work for me

float:left;
float:center;
float:right;
Last Edit: 7 years 5 months ago by mikeoppeneer. Reason: solved

Please Log in to join the conversation.

More
7 years 5 months ago #535 by milos
milos replied the topic: Re:Adjusting the position in the modul
Open index.php of your template and find code for this module position. It looks like <jdoc:include type="modules" name="user3" /> or something like that. Change it to:
<div style="float:right"><jdoc:include type="modules" name="user3" /></div>
or
<div align="right"><jdoc:include type="modules" name="user3" /></div>
This might work.

Please Log in to join the conversation.

  • mikeoppeneer
  • mikeoppeneer's Avatar Topic Author
  • Visitor
  • Visitor
7 years 5 months ago #536 by mikeoppeneer
mikeoppeneer replied the topic: Re:Adjusting the position in the modul
Hi Milos,

Thanks for the quick reply.

The current line of code in the HTML for that module was

<?php if( JRequest::getVar( 'id' ) == '68' ): ?>
<jdoc:include type="modules" name="user5" />
<?php endif; ?>

and I replaced it with

<?php if( JRequest::getVar( 'id' ) == '68' ): ?>
<div align="right"><jdoc:include type="modules" name="user5" /></div>
<?php endif; ?>

and it had no effect. So I think the issue is CSS related. I'll post a solution if I find one.

Mike

Please Log in to join the conversation.

Time to create page: 0.125 seconds

Links, Partners and Social Media