Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #14666

    I’d like to center align the images and the text on my portfolio pages. here’s an example.

    http://indiewrecked.com/design-identity/

    Thanks!

    #84399

    Hi!

    Try to add following code to style.css:

    #main .portfolio_entry .box img {
    display: block;
    margin: auto;
    text-align: center;
    }

    #main .portfolio_entry .box h3 a, #main .portfolio_entry .box h3,
    #main .portfolio_entry .box p, #main .portfolio_entry .box{
    text-align: center;
    }

    Best regards,

    Peter

    #84400

    Close, but not quite there. The Preview image and the “Read More” text stayed left aligned.

    #84401

    Hi jjgarcia03,

    Try to add this code:

    .more-link {
    left: 50% !important;
    margin-left: -36px !important;
    }

    #main .portfolio_entry .box img {
    left: 50% !important;
    margin-left: -50px !important;
    }

    Hope this helps. :)

    Regards,

    Ismael

    #84402

    Perfect, thanks!

    #84403

    Hello,

    Glad we could help.

    Regards,

    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Center the images and text on Portfolio Pages’ is closed to new replies.