In Customizr theme, is it possible to have/set up square dimensions for slider?

  • I need to set square dimensions for customizr theme’s slider using the customized css only. Is it possible without altering the php code ($this -> slider_size = array(‘width’ => 1170 , ‘height’ => 500, ‘crop’ => true );
    ) or not?

    The blog I need help with is: (visible only to logged in users)

  • Hi there, the site you referenced, http://mrana001.wordpress.com/ , doesn’t have any content and is listed as a test blog, and you have a number of sites under your username. Can you give us a link to the site you are talking about?

    At WordPress.com we cannot alter the PHP files, so it would have to be a CSS solution, but there are some caveats since we end up resizing the existing image, and that means a loss in quality since the browser ends up doing the resizing.

  • It sounds like you are using https://wordpress.org/themes/customizr and the best place to make a request about that theme is in the volunteer-based forums at https://wordpress.org/support/theme/customizr

    Is it possible without altering the php code ($this -> slider_size = array(‘width’ => 1170 , ‘height’ => 500, ‘crop’ => true );

    That’s probably possible. As thesacredpath alluded to, increasing the size of images using CSS only means you’ll take a hit in quality. Reducing image size has the opposite problem in that you load a larger image than is really needed, and it’s idea to load smaller files an make page load faster if that’s possible (such as by changing the php code you mentioned in your case).

    If you need further help, I would suggest that you open a help request at https://wordpress.org/support/theme/customizr and make sure to include as much detail as possible and include a link to the page with the slider on it for reference if possible.

  • The topic ‘In Customizr theme, is it possible to have/set up square dimensions for slider?’ is closed to new replies.