How do I add a new module position next to USER 1

  • trey-braid
  • Visitor
  • Visitor
14 years 4 months ago #2293 by trey-braid
ok i got rid of the twitter and facebook mods and eliminated the tabs altogether...

2 things with this of course

why is it not displaying correctly in explorer... since i am using a bulletin module pulling the articles from a category-easiest way to change font color to white - since it is a link..

thanks
trey

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
14 years 4 months ago #2295 by milos
Sorry, I don't see the bulletin module? Is it again related to the tabs module?

Please Log in to join the conversation.

  • trey-braid
  • Visitor
  • Visitor
14 years 4 months ago #2298 by trey-braid
i have taken it down - hence the space to the right of the carousel... i would still like to be able to place something up there in that space...

any idea what i am doing wrong... please recap exactly where i should've placed the <div> in the index.php file please...along with exact styling i should use in the layout.css...

i appreciate you answering all my questions... trying to get the hang of your template's... they are so much more different than joomla art's ( though alot less inf and really easier to work with once you get the hang of it...)

thanks
trey

Please Log in to join the conversation.

  • trey-braid
  • Visitor
  • Visitor
14 years 4 months ago #2305 by trey-braid
any idea what i am doing wrong... please recap exactly where i should've placed the <div> in the index.php file please...along with exact styling i should use in the layout.css...

i have a feeling i am sticking the:

<div class="news">
<jdoc:include type="modules" name="news" style="xhtml" />
</div>
<div class="clr"></div>

...in the wrong place in the index.php file..

thanks
trey

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
14 years 4 months ago #2311 by milos
Please find this part of the index.php
Code:
<?php if ($showuser1 or $showuser2) { ?> <div class="gallery"> <div class="gallery_pad"> <jdoc:include type="modules" name="user1" style="xhtml" /> <?php if ($showuser2) { ?> <div class="user2"> <jdoc:include type="modules" name="user2" style="xhtml" /> </div> <?php } ?> <div class="clr"></div> </div> </div> <?php } ?>

...and change it with:
Code:
<?php if ($showuser1 or $showuser2) { ?> <div class="gallery"> <div class="gallery_pad"> <div style="float:left"><jdoc:include type="modules" name="user1" style="xhtml" /></div> <div style="width:100px; background:#090; float:left"><jdoc:include type="modules" name="news" style="xhtml" /></div> <div class="clr"></div> <?php if ($showuser2) { ?> <div class="user2"> <jdoc:include type="modules" name="user2" style="xhtml" /> </div> <?php } ?> <div class="clr"></div> </div> </div> <?php } ?>

You can leave it like that, of course you can add additional styling (like padding, or different background color). If you don't like inline styles, you can change, in example, this part
Code:
<div style="width:100px; background:#090; float:left">

with this
Code:
<div class="your_class_name">

and, of course add the class in the template_css.css, like
Code:
.your_class_name { width:100px; background:#090; float:left; }

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
14 years 4 months ago #2312 by milos
Before doing that, please make sure that you reduced Hot Joomla Carousel Pro module's width in the module parameters to make space for the additional module position.

Please Log in to join the conversation.

Time to create page: 0.090 seconds
Powered by Kunena Forum