Announcement

Collapse
No announcement yet.

Center Text Vertically in Box with css

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Center Text Vertically in Box with css

    I would like to vertically center and enlarge the text in the green boxes on the attached screenshot.
    I am a bit new to html/css, would anyone be able to tell me where I can find main.css in SD, and the correct style to use for centering vertically.

    The screenshot is from www.mashers.co.uk

    Thanks
    Attached Files
    www.mashers.co.uk - Party And Catering Disposables

    #2
    You seem to have centered the text but you might like to play with this:
    Look in the file main.css (prob in your site folder) for
    Code:
    .hmpod a
    You should see
    Code:
    .hmpod a {
        color: #fff !important;
        font-size: 14px;
        text-decoration: none;
    }
    Try changing it to
    Code:
    .hmpod a {
        color: #fff !important;
        font-size: 16px;
        text-decoration: none;
        padding-top: 0.6em;
    }
    and see what you think.
    Jonathan Chappell
    Website Designer
    SellerDeck Website Designer
    Actinic to SellerDeck upgrades
    Graphicz Limited - www.graphicz.co.uk

    Comment

    Working...
    X