Archived topic
remove space on feature image on home page and center widgets content
10 replies · Started by ahmad on January 8, 2020
want to remove this space from feature image , also center the content,
also have problem with wpspp = wp show post pro, the icons not even shown dunno the problem
Hi there,
Have you un-checked the "Display padding around images" option?: https://docs.generatepress.com/article/adjusting-the-featured-images/
You also need to make sure the images are wide enough to fill the entire area, or it won't work.
Let me know :)
i add the snappits
add_filter( 'generate_blog_image_attributes','tu_variable_image_sizes' );
function tu_variable_image_sizes( $atts ) {
// Set up our conditional
if ( is_post_type_archive( 'portfolio' ) ) {
$atts[ 'width' ] = 450;
$atts[ 'height' ] = 400;
$atts[ 'crop' ] = true;
}
// Return our options
return $atts;
}
and all picture with this px 336 × 187
i saw many of example have the img fit all the content box with no white space
sry for my bad english
also there is problem with icons on the theme its not even shown i dont know why,
also, when i try to add widgets on the footer not shown https://prnt.sc/qleiqa + https://prnt.sc/qlej2b
Hi there,
Did you try the option I pointed out? You also need to upload larger images, your images are too small right now to fill the entire space.
Icons aren't showing because they're loading from a different URL than the one you're visiting. You can see more details if you right-click + Inspect and look in the "Console" tab. It's best to update those URLs so they're all consistent. Alternatively, you can turn on SVGs in "Customize > General".
i will try update feature img size, but i try to keep all thing optimized
what abut the footer ? why not active ? i add widgets on footer widget but its not shown
I'm seeing your footer widgets - did you get it fixed?
yes i did it, thanks tom,
i am not really coding guy, can i do something like this https://prnt.sc/qlk7ci ?
Are you referring to the dotted bottom border?
You could try something like this:
.footer-widgets a, .footer-widgets a:visited {
border-bottom: 1px dotted #fff;
}
thanks for help, i done with that
something else or i'll open another topic
i use the lightweight social by generatepress but the icon not shown, i use svg , if i remove the svg all generatepress icon will disappear , i use cloudways CDN
Hi there,
can you raise a new topic - it makes it easier for everyone to find what they may be looking for