- This topic has 7 replies, 2 voices, and was last updated 1 month ago by Leo.
August 28, 2020 at 12:14 pm #1422245Nidhi
I wanted to add an author box on the right sidebar and found one post from the support forum where you shared a simple author box code, but it isn’t working as expected. I’ve also linked the URL for you to check. If possible, I’d like a circle image at the center, a small description below with a read more button and social media accounts buttons.August 28, 2020 at 1:19 pm #1422285LeoStaffCustomer SupportAugust 28, 2020 at 1:22 pm #1422287Nidhi
There will only be one author on the site. I have used the code given here.
https://gist.github.com/diggeddy/c448f642993866f79dbb960cbc450a6aAugust 28, 2020 at 2:26 pm #1422352LeoStaffCustomer Support
I feel like that’s a bit overkill if you only have one author on the site.
Would you consider using block element and GB to build whatever you have in mind?
Or let me know if you have an example in mind 🙂August 29, 2020 at 12:09 am #1422597Nidhi
Thank you Leo, the block element does the job but there is no way to add a background to the sidebar. The customize option does not work for the sidebar now. I would also like the sidebar to occupy more space on the right, so I tried to increase sidebar width but it increases the width from the left side resulting in a decrease in the main container’s width. It seems to me as if the right side of the sidebar and left side of the main container is fixed. How to change that?August 29, 2020 at 9:14 am #1423143LeoStaffCustomer Support
the block element does the job but there is no way to add a background to the sidebar.
I would recommend using GenerateBlock to build your current content then you can use a container block which allows you to add a background color:
As for sidebar width, this should help:
https://docs.generatepress.com/article/sidebar-widths/August 29, 2020 at 10:51 am #1423234Nidhi
Generateblocks for the win!!
Thank you leo, it looks exactly as I wanted. 😊August 29, 2020 at 10:53 am #1423238
- You must be logged in to reply to this topic.