Jump to content

Change image layout on admin product page.

Recommended Posts

This is what I have now.



I want the each row of thumbnails to hold at least 6 images (maybe more) instead of the five.

I have changed this to add the sixth by adding another 1fr but it won't keep the change. Is there something else I need to change?

#gallery_json ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    list-style-type: none;
    margin: 0;
    padding: 0;

Thanks in advance for any and all help

Link to comment
Share on other sites

Works for me by making the change:

/admin/skins/default/styles/layout.css, near line 1445:

grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;

grid-template-columns: repeat(6, 1fr);

Then making sure the browser fetches and uses this changed version of layout.css.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...