Ecommerce Shopify WordPress Discussion

Assign a logo next to section heading

Desired outcome: Desired outcome failed result: Failed result I have edit three coding files: index.json, featured-collection.liquid, base.css. For the index.json file, I added "heading_image": "featured_collection_LaVJqD": { "type": "featured-collection", "settings": { "title": "<strong>最新上架<\/strong>", "heading_size": "h2", "description": "", "show_description": false, "description_style": "body", "collection": "", "products_to_show": 25, "columns_desktop": 4, "full_width": false, "show_view_all": true, "view_all_style": "solid", "enable_desktop_slider": true, "color_scheme": "", "image_ratio": "adapt", "image_shape": "default", "show_secondary_image": false, "show_vendor": false, "show_rating": false, "enable_quick_add": false, "columns_mobile": "2", "swipe_on_mobile": false, "padding_top": 36, "padding_bottom": 36, "heading_image": "shopify:\/\/shop_image\/logotesttest.jpg" } For the featured-collection.liquid file, I added img tag: <div class="color-{{ section.settings.color_scheme }} isolate gradient"> <div class="collection section-{{ section.id }}-padding{% if section.settings.full_width %} collection--full-width{% endif %}"> <div class="collection__title title-wrapper title-wrapper--no-top-margin page-width{% if show_mobile_slider %} title-wrapper--self-padded-tablet-down{% endif %}{% if show_desktop_slider %} collection__title--desktop-slider{% endif %}"> {%- if section.settings.title != blank -%} <img alt="llogo" src="shopify:\/\/shop_images\/logotesttest.jpg" width="100" height="200" class="title-image"> <h2 class="title inline-richtext {{ section.settings.heading_size }}{% if settings.animations_reveal_on_scroll %} scroll-trigger animate--slide-in{% endif %}"> {{ section.settings.title }} </h2> {%- endif -%} {%- if section.settings.description != blank or section.settings.show_description and section.settings.collection.description != empty -%} <div class="collection__description {{ section.settings.description_style }} rte{% if settings.animations_reveal_on_scroll %} scroll-trigger animate--slide-in{% endif %}"> {%- if section.settings.show_description -%} {{ section.settings.collection.description }} {%- else -%} {{ section.settings.description -}} {%- endif %} </div> {%- endif -%} </div> At last, css file: .title-image { float: left; /* or right, depending on where you want the image */ margin-right: 10px; /* adjust spacing as needed */ }
TurboCommerce make the better internet purchasing globaly

Turbo Multi-language Translator

Make the better internet purchasing globaly

Turbosify SEO Speed Booster

5.0 (7) Free plan available
Get better conversions by improving store loading speed Installed

Turbo Multi-language Chat - AI Customer service in one hand

TurboCommerce make the better internet purchasing globaly
Our products

The help you need, when you need it

App by Turbo Engine

3 apps • 5.0 average rating

Turbosify Speed Booster

5.0 (7)
Get better conversions by optimizing shopify store Google page speed Installed

Turbosify Translator for Wordpress Woocommerce

5.0 (74) Free Wordpress Woocommerce Plugin
Translate your wordpress website to multiple language within 1 click, no configuration needed, no No technical required

Grow your business here

Whether you want to sell products down the street or around the world, we have all the tools you need.