-
AuthorPosts
-
January 19, 2010 at 10:14 pm #147801
Hi guys,
I wanted to have an implimentation of the same header image technique in ja purity which changes on every browser refresh to put in the header of the ja seleni.
How can i go on doing this?
Thank you.Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
January 21, 2010 at 3:21 am #329911Hello guy!
Please open the file: templates/ja_seleni/layout/blocks/header.php and find code at line 1:
<div id=”ja-header” class=”wrap”>
<div class=”main”>Replace:
[PHP]
<div id=”ja-header” class=”wrap”>
<div class=”main” style=”background-image: url(<?php echo $this->templateurl(); ?>/images/header/<?php echo $this->getRandomImage($this->templatepath().DS.’images/header’); ?>);”>
[/PHP]Now, you create a forlder inside the “ templates/ja_seleni/images” folder , named is “header“, you put images in there.
Good luck
January 22, 2010 at 7:59 pm #330076<em>@tienhc 161256 wrote:</em><blockquote>Hello guy!
Please open the file: templates/ja_seleni/layout/blocks/header.php and find code at line 1:
<div id=”ja-header” class=”wrap”>
<div class=”main”>Replace:
[PHP]
<div id=”ja-header” class=”wrap”>
<div class=”main” style=”background-image: url(<?php echo $this->templateurl(); ?>/images/header/<?php echo $this->getRandomImage($this->templatepath().DS.’images/header’); ?>);”>
[/PHP]Now, you create a forlder inside the “ templates/ja_seleni/images” folder , named is “header“, you put images in there.
Good luck</blockquote>
Thank you tienhc,
that worked but i need to find out the size of the header images so to fit into the JA seleni header area.Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
January 29, 2010 at 9:39 am #330873hello guy
please open the file : template.css and try to find code
#ja-header .main {
height:100px;
}Replace:
#ja-header .main {
background-position:right top;
background-repeat:no-repeat;
height:100px;
}January 29, 2010 at 9:24 pm #330926Thenk you tienhc.
February 1, 2010 at 8:59 pm #331243<em>@tienhc 162587 wrote:</em><blockquote>hello guy
please open the file : template.css and try to find code
#ja-header .main {
height:100px;
}Replace:
#ja-header .main {
background-position:right top;
background-repeat:no-repeat;
height:100px;
}
</blockquote>Thank you tienhc for your time, but there is still one more thing that i couldn’t figure out; that is how to put a trnsparent mask over the images like in the ja purity header.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
February 8, 2010 at 7:44 am #331980i saw that your thread is the solve status, ? did you make this done ?
February 8, 2010 at 8:12 pm #332095No I did not put the solve status on the thread.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
February 10, 2010 at 3:59 am #332246Now,
1 ) Please get this image: http://templates.joomlart.com/ja_purity_ii/templates/ja_purity_ii/images/header-mask.png a and put it into the templates/ja_seleni/images folder
2) find codes at line 23 inside the header.php file:
<div class=”inner clearfix”>
replace:<div class=”inner clearfix”>
<div class=”ja-headermask”> </div>
3) and add the follow css into the template.css file:.ja-headermask {
background: url(../images/header-mask.png) no-repeat top right;
display: block;
height: 80px;
position: absolute;
right: -1px;
top: 0;
width: 602px;
z-index: 0;
}good luck
February 10, 2010 at 8:15 pm #332311Thank You for your assistance
-
AuthorPosts
This topic contains 10 replies, has 2 voices, and was last updated by drmaalghamdi 14 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum