Okay
  Public Ticket #277755
Portfolio custom size
Closed

Comments

  • Brent started the conversation

    Hi, I want to make a portfolio with custom size (150x150, 300x300 and 600x600). I've add 

    add_image_size( 'squareS', 150, 150, true );

    add_image_size( 'squareM', 300, 300, true );

    add_image_size( 'squareL', 600, 600, true );

    in the functions.php but the image still 300x300 px (regular size).

    can anyone help me :(

    Thanks in advance!

  • Brent replied

    i've change the width into 8% to fulfill 150x150 conditon but the problem is now my portfolio have gap for each one and i can't identify it. see the image for reference.

  •  8,839
    Tahir replied

    Hey Brent!

    Can you please provide the page url so i can take a look at the underlying css. 

    Thanks


    ThemeNectar Support Team 

  •  1,070
    ThemeNectar replied

    Hey Brent!

    There's actually css and javascript code that sets the column number for the portfolio display - since you want to use a smaller size, it would take editing all rules in the style.css and responsive.css files for "elastic-portfolio-item" and in the init.js file search for "column sizing" to end up at the right section