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 "Sportal" Joomla template.

Topic-icon adding a mod directly below the main menu

  • trey-braid
  • trey-braid's Avatar Topic Author
  • Visitor
  • Visitor
6 years 6 months ago - 6 years 6 months ago #2438 by trey-braid
milos the new module is called " gamecenter "

i added this styling to the layout.css:
.gamecenter {
position:relative;
top:-35px;
}


i then added this to the index.php right before this: <?php if ($showuser1 or $showuser2) { ?>

<div class="gamecenter_wrap">
<div class="gamecenter">
<div style="padding-left:30px; padding-top:30px; width:980px; height:100px; float:left"><jdoc:include type="modules" name="gamecenter" style="xhtml" />
<div class="clr"></div>
</div>
</div>


did i do this right? right now i was able to get it positioned below the menu by adding the padding-top; but, as you can see there is to much space below the new mod and the gallery and news mod below which you helped me layout last week....

the dimensions of the module are: 980 / 100

thanks
trey
Last Edit: 6 years 6 months ago by trey-braid.

Please Log in to join the conversation.

  • trey-braid
  • trey-braid's Avatar Topic Author
  • Visitor
  • Visitor
6 years 6 months ago #2440 by trey-braid
i made some adjustments to the index.php and it looks like this took care of the issue:

right?

<div class="gamecenter_wrap">
<div class="gamecenter">
<div style=
"padding-left:20px; padding-top:5px; padding-bottom: 5px; width:980px; height:100px; float:left"><jdoc:include type="modules" name="gamecenter" style="xhtml" />
<div class="clr"></div>
</div>
</div>


i made adjustments to padding for top and bottom and it looks like that took care of the issue...

thanks
trey

Please Log in to join the conversation.

More
6 years 6 months ago #2441 by milos
The code looks correct to me.

Please Log in to join the conversation.

  • trey-braid
  • trey-braid's Avatar Topic Author
  • Visitor
  • Visitor
6 years 6 months ago #2448 by trey-braid
thanks milos

Please Log in to join the conversation.

Time to create page: 0.113 seconds

Links, Partners and Social Media