All things Shopify and commerce
Can anyone help me locate and delete the white space with curly bracket from the top of my Dawn Theme development site. I've found it in development tools but can't find it in Liquid files. Any help would be much appreciated. Thanks
Solved! Go to the solution
This is an accepted solution.
Remove one " } " at the end of line No: 59 after endstyle in theme.liquid file
If I managed to help you then, don't forget to Like it and Mark it as a Solution!
Best Regards,
Rock Technolabs
Hi @thebrandedit
Please check in theme.liquid file which is located in the theme code in the layout folder is there any open " } " is there? if yes then remove that. or move that to the appropriate place.
If I managed to help you then, don't forget to Like it and Mark it as a Solution!
Best Regards,
Rock Technolabs
Its Artzen Technologies! We will be happy to help you today.
Go to the Online Store->Theme->Edit code->Assets->theme.liquid>
check theme.liquid here is the } sign please remove this curly bracket
Let me know if need further assistance
Regards,
Artzen Technologies
Thanks o much for your reply. I've checked the liquid files and I'm not seeing the bracket. I've taken a screenshot of the code I'm seeing...
can you please share the whole code here?
Should I just copy and paste?
This is the code in the header-group section file...
{
"name": "t:sections.header.name",
"type": "header",
"sections": {
"announcement-bar": {
"type": "announcement-bar",
"blocks": {
"announcement-bar-0": {
"type": "announcement",
"settings": {
"text": "Free Shipping on all Orders Over €500",
"link": ""
}
}
},
"block_order": [
"announcement-bar-0"
],
"settings": {
"color_scheme": "inverse",
"show_line_separator": false,
"show_social": false,
"auto_rotate": false,
"change_slides_speed": 5,
"enable_country_selector": false,
"enable_language_selector": false
}
},
"header": {
"type": "header",
"settings": {
"logo_position": "middle-center",
"menu": "main-menu",
"menu_type_desktop": "dropdown",
"sticky_header_type": "always",
"show_line_separator": false,
"color_scheme": "background-2",
"menu_color_scheme": "background-2",
"enable_country_selector": true,
"enable_language_selector": true,
"mobile_logo_position": "center",
"margin_bottom": 0,
"padding_top": 20,
"padding_bottom": 20
}
}
},
"order": [
"announcement-bar",
"header"
]
}
Here's a screen shot... could it be line 47?
Please share your theme.liquid code
Could this be it in header-liquid?
Here's the theme liquid code...
check this section
share your header-group section all code
header-group section code...
Could this be it in header-liquid?
can you share your .myshopify domain URL so I can send you a collaborator request and help you out?
This is an accepted solution.
Remove one " } " at the end of line No: 59 after endstyle in theme.liquid file
If I managed to help you then, don't forget to Like it and Mark it as a Solution!
Best Regards,
Rock Technolabs
It worked, thank you for all your help and being so patient I really appreciate it!
Here is the header-group section theme-liquid...
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024