Create a three column Product Template for Spoke/Athens Theme

Hi,

I am trying to create a three-column template for the Spoke/Athens Theme similar to the image below from the Empire theme.

Column 1 - Image (can I change the image size smaller?)
Column 2 - Product Description with table
Column 3 - Drop-down Menu

Someone had helped with a similar design for the bulk order, but that does not seem to work with the drop-down

The Spoke/Athens Theme preview is
Mikuni SBN38/44/40i Carburetor Parts – Atlantic Jet Sports

Empire Theme Example
Mikuni SBN38/44/40i Carburetor Parts — Atlantic Jet Sports

This will need code editing in your theme files. Mostly the product description and the drop-down and add buttons are under one container, so it needs to be seperated and then added as the third column or may be with a few adjustments with css it is possible but it will be more of a workaround kind of solution.

This should go into “Custom CSS” of the product section.
A bit simpler because all affected elements are inside the same section.
Need to check whether it will conflict with the older change though.

@media (min-width: 1680px) {
  .container {
    max-width: none;
  }
  
  .product-page {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .product-page > * {
    grid-row: 1;
  }

  media-gallery {
    position:sticky;
    top: 136px; /*  ideally, need some JS to update based on header height 
                    or amend one which does it for product-info element */
                
  }
  .product-info-description {
    grid-column: 2/3;
  }
  
  .product-info-wrap-content {
    grid-column: 3/4;
  }
}


if my post is helpful, please like it ♡ and mark as a solution -- this will help others find it

Thank you for looking at this….

For some reason, columns 2 & 3 are on top of each other. I guess column 3 is on top of column 2?

Need to see code applied to diagnose.

Sure, what do you need me to send? A link to the preview?

I think this is the link to the preview

Interesting.

Shopify has bugged when applying scoping to this code....

Usually Shopify prepends section id selector to the “Custom CSS” code so that

.product-page {
  grid-template-columns: 1fr 1fr 1fr;
}

becomes:

  #shopify-section-template--26180413948183__main-product .product-page {
    grid-template-columns: 1fr 1fr 1fr;
  }

However, for the last rule, from

.product-info-wrap-content {
    grid-column: 3/4;
}

if became this – see that there is no space before the dot?
This rule no longer matches.

  #shopify-section-template--26180413948183__main-product.product-info-wrap-content {
    grid-column: 3/4;
}

Unfortunately, it is not possible to test without having myself a theme copy.

Try this code instead:

@media (min-width: 1680px) {
  .container {
    max-width: none;
  }
  
  .product-page {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .product-page > * {
    grid-row: 1;
  }

  media-gallery {
    position:sticky;
    top: 136px; /*  ideally, need some JS to update based on header height 
                    or amend one which does it for product-info element */
                
  }
  .product-info-description {
    grid-column: 2/3;
  }
  
 /* .product-info-wrap-content  seem to trigger the system */
  [class*="wrap-content"] {
    grid-column: 3/4;
  }
}


if my post is helpful, please like it ♡ and mark as a solution -- this will help others find it

The amount of spam and asking to get into people’s Shopify accounts is amazing.

@Jacqui @jasonh You’re in charge… Is this how you want your forum to be like, with fraudsters infesting the feed with their “share collaboration code” spam?