Site logo

Archived topic

remove space on feature image on home page and center widgets content

10 replies · Started by ahmad on January 8, 2020

Viewing posts 1–11 of 11

https://prnt.sc/ql0uos

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

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

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

This archived topic is closed to new replies.