Hello,
To solve your problem, you will have to create a child theme for your theme. To create the child theme you can use this simple plugins like https://wordpress.org/plugins/wp-child-theme-generator/
After you have create the child theme activate the child theme and please go to
Dashboard -> Appearance -> Customize -> Theme Options -> Advanced Options and add the below given CSS
#primary {
width: 100%;
padding-left: 0px;
padding-right:0px;
float: none;
}
.container{
width:100%
}
Now finally, on your child themes functions.php add the following given line of code.
function photo_perfect_content_width_filter() {
// This is the width of the gallery add it according to your requirement.
return 1528;
}
add_filter( 'photo_perfect_content_width', 'photo_perfect_content_width_filter' );
Hope it helps.
If you have any further queries and would want a swift support please visit the theme’s official forum at http://themepalace.com/forum/photo-perfect/
Best regards.
Thread Starter
jvd88
(@jvd88)
Hi,
I did all above, also got it centered. It is a bit wider, but not as wide as the image header.
Thats what i want, i tried the value to 1900, but nothing happens.
Regards,
Joep