- This topic has 7 replies, 2 voices, and was last updated 1 year, 6 months ago by
David.
-
AuthorPosts
-
December 19, 2020 at 12:14 am #1586729
Sofie
Hi there,
I refer to my test page https://www.capeach.eu/online-taalcoaching-2.
I have created a custom sidebar using the plugin easy custom sidebars. However, I would like it a bit ‘lower’ on the page, next to the text instead of the image. Is that possible? If so, can we keep the image and the grey container full width, instead of contained. Or does a sidebar prohibit that option?
Thank you very much for your reply. Do not hesitate to refer me to other pages if they do exist.
Kind regards,
SofieDecember 19, 2020 at 6:13 am #1586964David
StaffCustomer SupportHi there,
you would need to add the content using a Block Element:
https://docs.generatepress.com/article/block-element-overview/
You can use the
generate_after_header
hook to place it above the main content and right sidebarDocumentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/December 20, 2020 at 11:09 pm #1588740Sofie
Hi David,
Thanks for the reply.I added the generate_after_header hook on my test page as you suggested.
However, if you go to https://www.capeach.eu/online-taalcoaching-2, you will see that it’s is not in the right place.
It seems that he doesn’t recognize the header. I have tried using a cover image (as it is now) and I have tried using a featured image and a container with background image, but it is always in the same place.
Any ideas?
Thanks in advance. Kind regards.
December 21, 2020 at 4:56 am #1589061David
StaffCustomer SupportIs it the Absolute Beginner block that needs repositioning ?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/December 21, 2020 at 5:09 am #1589076Sofie
Yes, I would like it under the moon, in the right sidebar.
December 21, 2020 at 6:13 am #1589171David
StaffCustomer SupportChange the Hook to the
generate_before_right_sidebar_content
You will need to:
1. Make sure that Sidebars are enabled on that page.
2. Then move your Cover Block to a Block Element, and set its hook to thegenerate_after_header
. I would suggest using a GenerateBlocks container for the Moon image background and text instead of the cover blockDocumentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/December 21, 2020 at 8:30 am #1589585Sofie
Hi David,
Thanks for your help. Finally, I will not use the sidebar, as all the content on the page gets contained. I like it better when it uses the whole page.
Kind regards,
SofieDecember 21, 2020 at 1:00 pm #1589842David
StaffCustomer SupportGlad to hear you found a solution 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.