-
AuthorPosts
-
September 19, 2010 at 9:05 pm #154452
I’m trying to make the grey line under the header image 1024px just like the header. I don’t want it going across the whole screen when the resolution is larger than 1024.
What I’d really like to do is make the entire body of the site 1024px & then even use a color background on the right and left sides.
gray Friendgray
- Join date:
- October 2009
- Posts:
- 957
- Downloads:
- 0
- Uploads:
- 17
- Thanks:
- 28
- Thanked:
- 292 times in 230 posts
September 20, 2010 at 8:44 am #356053Under <div id=”ja-headerwrap”> create new div
<div style=”width=1024px; border-bottom:1px solid #808080; margin:auto;”></div>
or add
<hr style=”width=1024px; border:1px solid #808080; text-align: center”/>If it doesn’t work, try to use a back-ground line of 1024px width with styles
<div class=”line”></div>.line { background: #fff url(../i/line.gif) no-repeat center bottom;
margin: 8px auto;
height: 1px;
}1 user says Thank You to gray for this useful post
September 20, 2010 at 3:11 pm #356114Thanks but the only code I can find in the templete.css file is the following:
#ja-headerwrap {
background: #333333;
color: #CCCCCC;
line-height: normal;
height: 91px;
}Should I be looking in another file for the <div id=”ja-headerwrap”> code?
September 20, 2010 at 3:23 pm #356116OK – I found the following code in the index.php file but it can’t seem to get it to work????
<div id=”ja-wrapper”>
<!– BEGIN: HEADER –>
<div id=”ja-headerwrap”>
<div id=”ja-header” class=”clearfix” style=”background: url(<?php echo $tmpTools->templateurl(); ?>/images/header/<?php echo $tmpTools->getRandomImage(dirname(__FILE__).DS.’images/header’); ?>) no-repeat top <?php if($this->direction == ‘rtl’) echo ‘left’; else echo ‘right’;?>;”><div class=”ja-headermask”> </div>
aman204 Friendaman204
- Join date:
- January 2010
- Posts:
- 1945
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 11
- Thanked:
- 418 times in 356 posts
September 20, 2010 at 3:37 pm #356122To avoid confusion, Can you please provide in screenshot marked with annotations as to how you want it to be
September 20, 2010 at 3:42 pm #356123I want to decrease the size of the circled line in the attached picture to match the header image size 1024px. In doing this I was also hoping to decrease both sides of the side so that the body of the site is 1024px regardless of the users resolution.
I hope this makes sense
gray Friendgray
- Join date:
- October 2009
- Posts:
- 957
- Downloads:
- 0
- Uploads:
- 17
- Thanks:
- 28
- Thanked:
- 292 times in 230 posts
September 20, 2010 at 5:01 pm #356153<em>@heilgenpahl 194766 wrote:</em><blockquote>Thanks but the only code I can find in the templete.css file is the following:
#ja-headerwrap {
background: #333333;
color: #CCCCCC;
line-height: normal;
height: 91px;
}Should I be looking in another file for the <div id=”ja-headerwrap”> code?</blockquote>
Look in templatesja_purityindex.php
Find comments
<!– END: HEADER –>
This is the end of the templates header. I meant the additional code should be inserted here.
PS. not sure it could be resolved purely with CSS as you want to control the width of the line (as I understood) independently of other elements.September 20, 2010 at 7:00 pm #356164Thanks – I tried that & it just seems to add a new grey line rather than make the current grey line/body of the site 1024px. I’ve attaced an image of how I’d like the site to look. Not sure if I want the sides green or white but used green in my demo just so it looked obvious.
aman204 Friendaman204
- Join date:
- January 2010
- Posts:
- 1945
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 11
- Thanked:
- 418 times in 356 posts
September 21, 2010 at 7:43 am #356221Sorry but I am bit unsure as to what you need
Can you please eloborate with clear annotated screenshot
September 21, 2010 at 2:25 pm #356258The issues is resolved now!
AuthorPostsViewing 10 posts - 1 through 10 (of 10 total)This topic contains 10 replies, has 3 voices, and was last updated by heilgenpahl 14 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum