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.
Hi,
Can you post the link to the page in question please?
Regards,
Josue
Hi Josue,
Of course, here is the problem : http://www.cotedasie.nc/portfolio-item/pate-de-curry-massaman-sachet-maeploy/
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
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
Hey!
Try adding this code to the Quick CSS:
.page-thumb {
text-align: center;
}
Cheers!
Josue
Ok perfect Josue !
Thanks for your help.
You are welcome, glad to help :)
Regards,
Josue