-
AuthorPosts
-
January 28, 2007 at 6:46 am #118523
I came across many sites which are using these tactics to make it one the full screen wide.
Basically i want it to cover the whole area, and move the Main Menu down.
I will appreciate your help in this regard.
Thank you.
swemmel Friendswemmel
- Join date:
- February 2006
- Posts:
- 794
- Downloads:
- 34
- Uploads:
- 53
- Thanks:
- 36
- Thanked:
- 64 times in 1 posts
January 28, 2007 at 9:04 am #213798I use Xenia. Yes, please send me. I dont use Ja-news either. Just show me tricks on how to do it or send me the files.
Thanks.
swemmel Friendswemmel
- Join date:
- February 2006
- Posts:
- 794
- Downloads:
- 34
- Uploads:
- 53
- Thanks:
- 36
- Thanked:
- 64 times in 1 posts
January 28, 2007 at 3:29 pm #213804This modifications are for JA-Xenia !!!!
After this modifications the result will be as this:
194More lower in this post you will see another modification with a different full width ja-header.
Modifications:
Index.php:
insert the header-module into the header section ……..
[PHP]
<!– BEGIN: HEADER –>
<div id=”ja-headerwrap”>
<div id=”ja-header” class=”clearfix”>
<h1>
<a href=”index.php”>
<img src=”<?php echo $ja_template_path;?>/images/logo.png” alt=”<?php echo $mosConfig_sitename?>” />
</a>
</h1><?php if( mosCountModules(‘header’) ) {?>
<div id=”ja-sh” class=”clearfix”>
<?php mosLoadModules(‘header’, -1); ?>
</div>
<?php } ?><div id=”ja-topnavwrap” class=”clearfix”>
<?php mosLoadModules ( ‘user3’, -1 ); ?>
</div><?php if (mosCountModules(‘user4’)) {?>
<div id=”ja-search”>
<?php mosLoadModules ( ‘user4’, -1 ); ?>
</div>
<?php } ?></div>
</div>
<!– END: HEADER –>
[/PHP]…… and delete it from the content-section.
[PHP]
<!– BEGIN: CONTENT –>
<div id=”ja-mainbody<?php echo $divid; ?>”><a name=”Content” id=”Content”></a>
<div id=”ja-contentwrap”>
<div id=”ja-content”>
<div id=”ja-pathway”>[/PHP]
Modifications Template_css.css:
from ja-headerwrap delete the background-statement
from ja-header set height to the height of your header-picture(s)<blockquote>
/* HEADER
——————————————————— */
#ja-headerwrap {
}#ja-header {
clear: both;
text-align: left;
line-height: normal;
height: 255px;
position: relative;
}</blockquote>
Good luck,
Peter.
January 28, 2007 at 10:00 pm #213817I have done exactly what you told me, now it seems like that the header(image) size is mixed with the logos size, so the images are going under the logo.
You can check the template.css with the source code.
Thanks.
swemmel Friendswemmel
- Join date:
- February 2006
- Posts:
- 794
- Downloads:
- 34
- Uploads:
- 53
- Thanks:
- 36
- Thanked:
- 64 times in 1 posts
January 29, 2007 at 11:32 am #213839<em>@cheenamalai 7091 wrote:</em><blockquote>I have done exactly what you told me, now it seems like that the header(image) size is mixed with the logos size, so the images are going under the logo.
You can check the template.css with the source code.
Thanks.</blockquote>
It is that my logo is transparant and lays on top of my header. I send you a message and when I come home tonight I will try to solve your problem.
Peter.
swemmel Friendswemmel
- Join date:
- February 2006
- Posts:
- 794
- Downloads:
- 34
- Uploads:
- 53
- Thanks:
- 36
- Thanked:
- 64 times in 1 posts
January 29, 2007 at 6:06 pm #213860Oke, here we go,
All you have to do is take the original index.php from JA-Xenia and make th following modification:
Put the header-stuff in index.phph as follow :
[PHP]
…
<!– END: HEADER –><?php if( mosCountModules(‘header’) ) {?>
<div id=”ja-sh” class=”clearfix”>
<?php mosLoadModules(‘header’, -1); ?>
</div>
<?php } ?><!– BEGIN: MAIN NAVIGATION –>
…
[/PHP]And delete this statement in from the other place in index.php, in the Content-section:
[PHP]
…..
<!– BEGIN: CONTENT –>
<div id=”ja-mainbody<?php echo $divid; ?>”><?php if( mosCountModules(‘header’) ) {?>
<div id=”ja-sh” class=”clearfix”>
<?php mosLoadModules(‘header’, -1); ?>
</div>
<?php } ?><a name=”Content” id=”Content”></a>
<div id=”ja-contentwrap”>……
[/PHP]
And voila. 😎
178
I explained how to work from scratch, with fresh JA-Xenia install.
Success,
Peter.January 30, 2007 at 7:22 am #213879Thank you!! Work flawlessly.
I was wondering if you could also help me with the Ja_Zibal of course you dont have to if you dont like to.
What i want to do with the Jazibal is replace the regular image with the Ja_header. I believe the combination would be nice for my other site.
Really appreciated mate. 🙂
Thanks again!
swemmel Friendswemmel
- Join date:
- February 2006
- Posts:
- 794
- Downloads:
- 34
- Uploads:
- 53
- Thanks:
- 36
- Thanked:
- 64 times in 1 posts
January 30, 2007 at 10:05 am #213885<em>@cheenamalai 7170 wrote:</em><blockquote>Thank you!! Work flawlessly.
I was wondering if you could also help me with the Ja_Zibal of course you dont have to if you dont like to.
What i want to do with the Jazibal is replace the regular image with the Ja_header. I believe the combination would be nice for my other site.
Really appreciated mate. 🙂
Thanks again!</blockquote>
Hi there,
You can read this thread: http://www.joomlart.com/forums/topic/using-header-module-with-zibal/
Success
Peter.AuthorPostsViewing 9 posts - 1 through 9 (of 9 total)This topic contains 9 replies, has 2 voices, and was last updated by swemmel 17 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Ja_header full screen
Viewing 9 posts - 1 through 9 (of 9 total)