How to resize the width of small size banner

Topic summary

A user is attempting to customize banner dimensions in their Shopify store but can only modify height, not width, using CSS properties like height: XXrem. Despite adding this code, the banner box width remains unchanged.

Current situation:

  • Successfully resized banner height
  • Width adjustment not working with current CSS approach
  • Shared store URL (loklibuy.com.hk) for troubleshooting

Desired outcome:
The user wants to create a custom, very small banner and asks whether using custom Liquid code would be a viable solution for achieving the desired banner dimensions.

The discussion remains open with no resolution provided yet. Images were shared showing the current banner state and desired result.

Summarized with AI on November 12. AI used: claude-sonnet-4-5-20250929.

I know how to resize the height of the small banner.
But not able to resize the width by adding height: XXrem likes below.

the box width is same as before.

How to resize it?

Hi,

Can you share your store url

https://www.loklibuy.com.hk/
Thanks

Is it possible to add a custom liquid for create the custom banner?
I would like to achieve this. add two very small banner