Liquid, JavaScript, themes, sales channels
Hey guys!
I am using the simple theme and i am wondering how can i center my sidebar menu at the top of the site?
Thank you for your help!
Hi, wouldn't it be easier to use a different theme? Essentially that's like wanting to mount 21 inch wheels on a Fiat 500, yes it is possible and it wouldn't even look that bad as 21 inch wheels in a Fiat 500, but there are definitely easier ways to get hold of 21 inch wheels 😉
Don't get me wrong, I'll say it again: of course it is possible to change it, but unless you feel very comfortable with Liquid, HTML and CSS to make this change yourself, this kind of change isn't easy to provide or describe even in a lengthy forum tutorial. So in that case, unless you really really want to stick with Simple theme, I'd suggest you pick another free theme to begin with where such fundamental UI layout changes need not be made.
Best wishes!
Well adding tabbed product descriptions is definitely easier than what you're asking for here. But if neither work(ed) then I'd consider buying a theme or simply hiring an expert to make the changes for you? Alternatively, if you really really must, you can also look in to apps that do tabbed menus. Though even though I mention it here, I honestly do not recommend that option because such apps that add simple UI widgets are typically... ehmm... well I'd prefer not to get banned here so I'll keep my thoughts to myself.
Maybe someone here can help me first. I am not good at giving up.
In the simple theme, a snippet (bs-tabs.liquid) was created for this table.
This snippet has been inserted into another snippet (product.description.liquid).
And the latter snippet was inserted into a section (product-template.liquid).
So now I thought so far that I could copy both snippets and paste in the other theme as well. Then I would just have to insert the product.description.liquid to the right place of my theme or not? It is the debut theme.
thank you for your help i really, really appreciate it!
p.s. everyone starts small 😄
Maybe someone here can help me first. I am not good at giving up.
In the simple theme, a snippet (bs-tabs.liquid) was created for this table.
This snippet has been inserted into another snippet (product.description.liquid).
And the latter snippet was inserted into a section (product-template.liquid).
So now I thought so far that I could copy both snippets and paste in the other theme as well. Then I would just have to insert the product.description.liquid to the right place of my theme or not? It is the debut theme.
thank you for your help i really, really appreciate it!
p.s. everyone starts small 😄
Yes, that would be one approach. However, it will cause more trouble down the road - you need to take special care what variables are passed to the snippet when they're included. You would also need to consider the theme CSS differences and either copy over some missing CSS rules, or adapt those classes from the pasted code to suit Debut theme.
well damn... and does anyone know how much letting this function make from a professional would cost?
it is really annoying that shopify hasn't got so many designs and functions. It really is very limited... and any app costs a lot of money....
Have you tried following this tutorial on how to add tabs to product descriptions?
For Debut theme, you would need to edit the Sections / product-template.liquid file where you will find the
{{ product.description }}
mentioned in the tutorial.
Likewise, you will need to add the JavaScript in that section, just before the {% schema %}
{% endunless %} <script type="text/javascript"> // paste the JS from the tutorial here </script> {% schema %}
And last, you'd need to add the <style> as mentioned in the tutorial adding it at the beginning of the file should be fine, but I'd prefer to put it at the very end of Assets / theme.scss.liquid (without the <style> tags).
Thank you very much Karl. But actually that is not what i am looking for because every product needs different quantities of tables depending on the information. That's why "i fell in love" with the simple theme in the way that they just coded for heading 5 the function of a table... (
You can do the same with that tutorial with some modifications.
It's a sunny day here so I am off for a walk, feed squirrels, grab a coffee and rehab from computers for a while - I'll try get back to you with more details and how-to as soon as possible.
@Feffo9 wrote:Hey guys!
I am using the simple theme and i am wondering how can i center my sidebar menu at the top of the site?
Thank you for your help!
Can you make a descriptive image of what you want. You take a capture of the page in question and you modify according to what you want on Photoshop or other. That way I'll see what you want better.
As a business owner, have you ever wondered when your customer's first impression of yo...
By Skye Jun 6, 2023We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023