Archived topic
Container limited by div.entry-content padding
1 reply · Started by Louis on June 6, 2021
Morning Team GP!
Please have a look at the following page:
https://www.hammeracademy.co.za/pass-the-itil-4-foundation-exam/
I'd like to extend the dark TOC block to the edge of the container - as per annotations on the following image:
https://www.hammeracademy.co.za/wp-content/uploads/2021/06/Hammer.png
I'm trying to achieve roughly the same feel as the TOC on the RankMath blog:
https://rankmath.com/blog/schema-markup/
Hi there,
You will need to remove this CSS you've added:
.single-post .entry-content {
padding-left: 32px;
padding-right: 32px;
}
Then the TOC table will be full width.
And if you want the other text content to have some padding, then add it to GB's container:
https://docs.generateblocks.com/article/container-overview/#spacing