Jump to content

Change image layout on admin product page.


Recommended Posts

This is what I have now.

 

image-gallery-layout-600.png.12569e4e88a01fa780143b9a015fcc0e.png

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;

Alternate:
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.

Guest
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...