- Posts: 6764
- Thank you received: 718
Position above header or use mod position 9
-
trey-braid
- Topic Author
- Visitor
14 years 2 months ago #3206
by trey-braid
Position above header or use mod position 9 was created by trey-braid
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
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
Please Log in to join the conversation.
-
trey-braid
- Topic Author
- Visitor
14 years 2 months ago #3207
by trey-braid
Replied by trey-braid on 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>
<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.
-
milos
Support Staff - Moderator
Less
More
14 years 2 months ago #3210
by milos
Replied by milos on 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:
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.
Code:
<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
- Topic Author
- Visitor
14 years 2 months ago #3213
by trey-braid
Replied by trey-braid on 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;
}
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.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6764
- Thank you received: 718
14 years 2 months ago #3216
by milos
Replied by milos on 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
- Topic Author
- Visitor
14 years 2 months ago #3233
by trey-braid
Replied by trey-braid on 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?
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.076 seconds