Thread: Sidebox height

Results 1 to 5 of 5
  1. #1

    Default Sidebox height

    Hi, I am using gifs to make my sideboxes rounded but bits are getting chopped off.

    Can I put something in the stylesheet to force the height or will I need to do something with the appropriate tpl files.

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Sidebox height

    You can force the height in the stylesheet, but that is fraught with problems and trying to do it in the template files would be even worse. More likely to achieve the effect you want would be to use CCS styles to position the images appropriately.

    However, it's very difficult to be more specific without seeing your site. Do you have a link?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3

    Default Re: Sidebox height

    Quote Originally Posted by kuroi View Post
    You can force the height in the stylesheet, but that is fraught with problems and trying to do it in the template files would be even worse. More likely to achieve the effect you want would be to use CCS styles to position the images appropriately.

    However, it's very difficult to be more specific without seeing your site. Do you have a link?
    The site is here,
    http://www.eyefultower.co.uk/shop/

    the rounding means that the text isn't all contained in the categories box at the top/bottom. I guess indenting the text would sort that but I don't know how.

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Sidebox height

    Personally I wouldn't have tried to do this with just one image as that makes everything a bit rigid.

    But you can work with this by adding some padding-left (15px) to your #categoriesContent styling at the beginning of your stylesheet.

    You could also close up that gap in the middle by giving adding something like #categoriesContent br {line-height: 0.5em}

    This would pull the text away from the bottom of the box and give you some leeway to push it away from the top with some padding-top on #categoriesContent.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5

    Default Re: Sidebox height

    Quote Originally Posted by kuroi View Post
    Personally I wouldn't have tried to do this with just one image as that makes everything a bit rigid.

    But you can work with this by adding some padding-left (15px) to your #categoriesContent styling at the beginning of your stylesheet.

    You could also close up that gap in the middle by giving adding something like #categoriesContent br {line-height: 0.5em}

    This would pull the text away from the bottom of the box and give you some leeway to push it away from the top with some padding-top on #categoriesContent.
    Nice one thanks.
    I am new to stylesheets. I thought I had tried the padding thing but it padded the whole lot I must have put it in the wrong place.

 

 

Similar Threads

  1. Sidebox Heading Height
    By joyjoy in forum Templates, Stylesheets, Page Layout
    Replies: 27
    Last Post: 27 Aug 2011, 01:21 AM
  2. Sidebox Height Adjustments?
    By joyjoy in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 21 Oct 2010, 04:18 AM
  3. Sidebox Height Problems
    By flyingbrick in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 28 Jan 2008, 06:00 AM

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