Site logo

Archived topic

Custom width for posts, only posts

3 replies · Started by Mihail on April 3, 2022

Viewing posts 1–4 of 4

Hello, everyone!

I want to change the width of the record content (only records)! To do this, I apply the following code:
.single .site.grid-container {
max-width: 800px;
}

This works, but there's a problem. In this case the width also changes for products. And I need this width ONLY for posts.

Please help me.

https://i.ibb.co/FnhyPXz/2022-04-03-11-54-10.png
https://i.ibb.co/Yhhhmd6/2022-04-03-11-54-31.png

Here is a test site:
http://lafarm.hostenko.net/v-ukra%d1%97ni-zyavivsya-pershij-nft-muzej-vijni/
http://lafarm.hostenko.net/product/testovij-tovar/

I solved the problem by creating a container with dynamic content (entry post) and making it the right width.
https://i.ibb.co/WGcsdXt/2022-04-03-12-08-17.png

Glad to hear you found a solution you're happy with.

This archived topic is closed to new replies.