Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Feb 2007
    Location
    West Texas
    Posts
    128
    Plugin Contributions
    1

    Default Need a little help on vertically centered text in sidebox heading?

    Actually I need help on 4 little issues.......

    http://www.shabbychiccottage.com

    Starting at the top of my home page:

    1. Upper left corner where it says Home. I need that to be white text. I believe the fix for this will also take care of the footer text not being white.

    2. Notice a very thin line around my header area? A little more pronounced in IE than FF, but is still there in FF,too. Any way to get rid of that so that the blue from the header image meets the blue in the background for a better blend?

    3. I have images for my side box headings. I need for the heading titles to be vertically centered, not sitting at the top.

    4. and also is there a way to enlarge the text of the box headings slightly?

    Many thanks in advance,
    Shirley

  2. #2
    Join Date
    Feb 2007
    Location
    West Texas
    Posts
    128
    Plugin Contributions
    1

    Default Re: Need a little help on vertically centered text in sidebox heading?

    Well, I went searching on the web and found the answer to #3 of my little issues.

    I learned that vertical align does not work in css, so you have to use the height of your image as your guide to vertically center text in your image.

    To center my text in my box header images, I used the height of the image. i.e. I added the last two line in the code.

    PHP Code:
    .leftBoxHeading, .rightBoxHeading {
        
    margin0emheight67pxwidth149px;
        
    background-color#ACB8C8;
        
    background-imageurl(../images/tilebktag.jpg);
        
    padding0;
        
    height:67px;
        
    line-height:67px;
        } 
    Hope this helps someone else and now I'm still looking for my other answers if anyone can help...........
    Last edited by tolefairy; 2 May 2008 at 06:19 AM.

  3. #3
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,684
    Plugin Contributions
    11

    Default Re: Need a little help on vertically centered text in sidebox heading?

    1. Upper left corner where it says Home. I need that to be white text. I believe the fix for this will also take care of the footer text not being white.

    2. Notice a very thin line around my header area? A little more pronounced in IE than FF, but is still there in FF,too. Any way to get rid of that so that the blue from the header image meets the blue in the background for a better blend?

    3. I have images for my side box headings. I need for the heading titles to be vertically centered, not sitting at the top.

    4. and also is there a way to enlarge the text of the box headings slightly?
    1. Around line 282 of the stylesheet, change the color to #FFFFFF
    2. Around line 184 in the stylesheet, delete the border call completely
    3. looks like you got 3 and 4 going.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  4. #4
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,684
    Plugin Contributions
    11

    Default Re: Need a little help on vertically centered text in sidebox heading?

    All you need for everything to work on the Box Headings is

    .leftBoxHeading, .rightBoxHeading {
    background-image: url(../images/tilebktag.jpg);
    line-height: 67px:
    Margin: 0em;
    }

    All the other is superfluous.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  5. #5
    Join Date
    Feb 2007
    Location
    West Texas
    Posts
    128
    Plugin Contributions
    1

    Default Re: Need a little help on vertically centered text in sidebox heading?

    wait! don't go away!

    I still don't know #4................

  6. #6
    Join Date
    Feb 2007
    Location
    West Texas
    Posts
    128
    Plugin Contributions
    1

    Default Re: Need a little help on vertically centered text in sidebox heading?

    and thank you for all the other!

  7. #7
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,684
    Plugin Contributions
    11

    Default Re: Need a little help on vertically centered text in sidebox heading?

    Four is in the call at line 538 of the stylesheet. Change the font-size BUT watch out what it does to the shopping cart on the right.

    You can also play with the color setting to make the titles stand out a little better.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  8. #8
    Join Date
    Feb 2007
    Location
    West Texas
    Posts
    128
    Plugin Contributions
    1

    Default Re: Need a little help on vertically centered text in sidebox heading?

    I see what you mean about the shopping cart text. I thought I would go in and edit that text and use spaces to force it to go to two lines. Would that work?

    and what do you mean about playing with the color settings? What would show better than white, do you think?

    AND THANK YOU!!!

  9. #9
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,684
    Plugin Contributions
    11

    Default Re: Need a little help on vertically centered text in sidebox heading?

    You might want to try inserting \n and nl2br before doing the space thing.

    http://us2.php.net/nl2br
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  10. #10
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,684
    Plugin Contributions
    11

    Default Re: Need a little help on vertically centered text in sidebox heading?

    Forgot the color. Just my opinion that you need some color that contrasts the background enough for someone to see it.

    I keep remembering the color-blind tests when I look at it now.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Adding images beside text in centered sidebox
    By pointwise in forum Basic Configuration
    Replies: 2
    Last Post: 24 Jul 2009, 11:26 PM
  2. Sidebox Heading text color
    By keepondraggin in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 10 Feb 2009, 09:30 AM
  3. Right Column vertically centered...
    By blossomdesign in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 27 Jul 2008, 02:21 AM
  4. subcategory heading text centered?
    By GraniteMan44 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 9 Mar 2008, 06:28 AM
  5. Need Help Formatting Shopping Cart Sidebox Heading
    By anduril3019 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 9 Mar 2007, 05:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg