Archived topic
homepage & post content width
3 replies · Started by max on January 30, 2022
Hi. Right now we had problem when the ads look weird after we adjust the width for content page, width at post content
Hi there,
I'm not sure I fully understand the desired layout yet.
to clarify: Were you trying to limit the width of ONLY the ads?
If yes, you should apply a custom CSS to the ad's element specifically instead of limiting the container width of the entire content.
If you're inserting the ad through a plugin, can you try checking if there's a way to add a specific wrapper element to the ad? This way, we can wrap it w/ a specific class selector and style its width accordingly. :D
Actually we already done to make the content area at homepage and post content at width
the problem is, when we set the width for content area, appear big space outside content area
make it the ads appear weird
I'm not 100% sure what you mean by "appear big space outside content area" but that seems like an overflow issue.
You can try setting overflow-x: hidden; or position: relative; to the main#main or #primary selector so you're sure it doesn't go beyond the content area.