Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • heilgenpahl Friend
    #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.

    http://174.132.221.8/~mrcf2192/

    gray Friend
    #356053

    Under <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;
    }

    heilgenpahl Friend
    #356114

    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?

    heilgenpahl Friend
    #356116

    OK – 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 Friend
    #356122

    To avoid confusion, Can you please provide in screenshot marked with annotations as to how you want it to be

    heilgenpahl Friend
    #356123

    I 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


    1. grey-line
    gray Friend
    #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.

    heilgenpahl Friend
    #356164

    Thanks – 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.


    1. green-sides
    aman204 Friend
    #356221

    Sorry but I am bit unsure as to what you need

    Can you please eloborate with clear annotated screenshot

    heilgenpahl Friend
    #356258

    The issues is resolved now!

Viewing 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