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 Position above header or use mod position 9

  • trey-braid
  • trey-braid's Avatar Topic Author
  • Visitor
  • Visitor
7 years 3 weeks ago #3206 by trey-braid
trey-braid created the topic: Position above header or use mod position 9
Milos quick question for you about using mod position 9 in this template...

If I wanted to move it so it is above the header-- see attached screenshot what would I need to edit [ dimensions are 980 x 60 ] what would I need to edit... I am assuming I would move the mod in question in the Index.php along with editting the CSS in the layout.css file...

As always thanks!!!
Trey
Attachments:

Please Log in to join the conversation.

  • trey-braid
  • trey-braid's Avatar Topic Author
  • Visitor
  • Visitor
7 years 3 weeks ago #3207 by trey-braid
trey-braid replied the topic: Re: Position above header or use mod position 9
milos this is from my index right now:

<div class="header">
<div class="logo">
<a href="index.php"><img src="<?php echo $template_path ?>/images/logo_<?php if($transparentImage=="white") { echo "black"; }else{ echo "white"; } ?>.jpg" width="980" height="150" alt="joomla restaurant template" /></a>
</div>
<div class="header_menu">
<jdoc:include type="modules" name="user9" />
</div>
</div>


would this work if i moved the user9 up?


<div class="header">
<jdoc:include type="modules" name="user9" />
<div class="logo">
<a href="index.php"><img src="<?php echo $template_path ?>/images/logo_<?php if($transparentImage=="white") { echo "black"; }else{ echo "white"; } ?>.jpg" width="980" height="150" alt="joomla restaurant template" /></a>
</div>
<div class="header_menu">

</div>
</div>

Please Log in to join the conversation.

More
7 years 3 weeks ago #3210 by milos
milos replied the topic: Re: Position above header or use mod position 9
No, you need to put user9 inside DIVs, just below the <body> tag, use this as sample:
<div id="topmenu">
        <div id="topmenu_pad">
		<jdoc:include type="modules" name="user9" />
        </div>
</div>

Of course, change ID's names "topmenu" and "topmenu_pad". Add new IDs in the CSS files (layout.css and template_css.php). See how above samples are set and just copy and adjust where needed.

Please Log in to join the conversation.

  • trey-braid
  • trey-braid's Avatar Topic Author
  • Visitor
  • Visitor
7 years 3 weeks ago #3213 by trey-braid
trey-braid replied the topic: Re: Position above header or use mod position 9
thanks...

like this---will it still be inside the wrapper?

index.php:
<body>

<div id="topbanner">
<div id="topbanner">
<jdoc:include type="modules" name="user9" />
</div>
</div>

layout.css:

#topbanner {
width:980px;
padding: 0px;
height: 60px;
}

template.css.php:

#topbanner {
width:<?php echo $templateWidth; ?>px;
}

Please Log in to join the conversation.

More
7 years 3 weeks ago #3216 by milos
milos replied the topic: Re: Position above header or use mod position 9
Why you have "<div id="topbanner">" twice? Please check how we did it in sample that I gave you.

Please Log in to join the conversation.

  • trey-braid
  • trey-braid's Avatar Topic Author
  • Visitor
  • Visitor
7 years 3 weeks ago #3233 by trey-braid
trey-braid replied the topic: Re: Position above header or use mod position 9
typo on my part

index.php

<div id="topbanner">
<div id="topbanner_header">
<jdoc:include type="modules" name="user9" />
</div>
</div>

layout.css:

#topbanner_header {
width:980px;
padding: 0px;
height: 60px;
}

template.css.php:

#topbanner_header {
width:<?php echo $templateWidth; ?>px;
}

is this right?

Please Log in to join the conversation.

Time to create page: 0.130 seconds

Links, Partners and Social Media