Archived topic
Creating a Featured Articles Section on Homepage
32 replies · Started by Devin on February 18, 2022
Thanks! I apologize if this is completely unrelated to GP but would you happen to know how to make the length of the divider below the show posts longer on the left side? I've added code but for some reason, it's only adding length of the right side.
Here's the code: .my-custom-divider {
width: 50%;
}
Hi Devin,
It seems that in your current, structure, you have the WPSP block and the separator inside a container with a specific max-width, making the separator contained as well.
One approach you can try if you wish this separator go from end to end is to add the border to the parent container itself since this parent container goes viewport width.
For instance, you can try removing the current separator and add this CSS:
.wp-container-62130f9c6807c.wp-block-group {
border-bottom: 2px double #D3D3D3;
}
Hope this helps! :)
Let's move this to a new topic if you need further help :)
Please be mindful of what we can support though:
https://generatepress.com/what-support-includes/