Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #370892

    Hello,

    I’m trying to make portfolio page image header bigger 450px height and center it. I’ve been running trough portfolio.php and layout.css but couldn’t succeeded in finding how it is set.
    Firebug gives me this infos : <main class=”template-page template-portfolio content av-content-small alpha units” role=”main” itemprop=”mainContentOfPage”>
    Then inside this section image is called with its real size. So i want it to fit all my pictures wich are uploaded 450 x 450 px

    Thanks for your answer.

    #370928

    Hi,

    Can you post the link to the page in question please?

    Regards,
    Josue

    #371133
    #371140

    Hey!

    Try the following:
    1. Install this plugin: https://wordpress.org/plugins/simple-image-sizes/
    2. Go to Settings > Media
    3. Change the entry_with_sidebar image size (increase it).
    4. Regenerate the thumbnails by clicking the button at the bottom.

    Cheers!
    Josue

    #371188

    Hi Josue,

    It seems to work on most of portfolio image size. Thank you.
    But how can i center image into the header ?
    I guess i have to modify some CSS

    #371199

    Hey!

    Try adding this code to the Quick CSS:

    .page-thumb {
        text-align: center;
    }

    Cheers! 
    Josue

    #371226

    Ok perfect Josue !

    Thanks for your help.

    #371228

    You are welcome, glad to help :)

    Regards,
    Josue

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.