Shopify themes, liquid, logos, and UX
Hi,
Is it possible to make this last subheading "Gemstones" into 2 columns as it is too long and centre the Gemstones heading?
using debut theme - https://www.luxurybrandjewellery.com.au/
thanks in advance!
Solved! Go to the solution
This is an accepted solution.
Hello @KieranK95
1. Go to Online Store->Theme->Edit code
2. Open your theme.liquid theme file
3. Paste below code before </body> :
<script>
$('.site-nav__childlist-item > ul').each(function(){
if($(this).find('li').length > 20){
$(this).css('column-count','2');
$(this).parent().find('.site-nav__child-link--parent').css({'display':'block', 'text-align':'center'});
}
});
</script>
Hope my recommendation can works and support for you!
Kind & Best regards!
GemPages
This is an accepted solution.
Hello @KieranK95
1. Go to Online Store->Theme->Edit code
2. Open your theme.liquid theme file
3. Paste below code before </body> :
<script>
$('.site-nav__childlist-item > ul').each(function(){
if($(this).find('li').length > 20){
$(this).css('column-count','2');
$(this).parent().find('.site-nav__child-link--parent').css({'display':'block', 'text-align':'center'});
}
});
</script>
Hope my recommendation can works and support for you!
Kind & Best regards!
GemPages
Awesome! Thanks Gempages - Much appreciated
Hi @KieranK95,
I am glad that my solution is helpful to you 😁.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025