Archived topic
How to insert widget below header
3 replies · Started by Marek on August 20, 2018
Hello
Is it possible to insert some widget below main header? I mean between site logo and main container on this site: https://www.beta.pomoc-monice.org
I tried experimenting with header widget but inserted content is float after header, but I need below it.
Hi there,
The easiest way would be use the this plugin so you can use widget as shortcode:
https://wordpress.org/plugins/widget-shortcode/
Then you can use Hooks Element:
https://docs.generatepress.com/article/hooks-element-overview/
https://docs.generatepress.com/article/hooks-visual-guide/
Thank you for pointing me out, since I want to display some static content under that place I created new site and then inserted it as short code by using Tom's Insert Page plugin and it works, however it looks afful, I want to have custom background color here and I want to have centered that content, can anyone help me to achieve that? Now the site looks like this: https://www.beta.pomoc-monice.org and I want to display following text:
Istnieje możliwość przekazania 1% podatku na rzecz Moniki, w tym celu podczas wypełniania rocznego rozliczenie prosimy o podanie następujących danych:
Nazwa organizacji OPP: FUNDACJA DZIECIOM “ZDĄŻYĆ Z POMOCĄ”
Nr KRS: 0000037904
Cel szczegółowy:
1441 Cisek Monika
on other background color, let's say #BCE5C3 and centered that text so it will start right below header beginnin. I tried to use Simple CSS on the page that I want to display here and I placed the following on the Simple CSS box on that page:
body {
background-color: BCE5C3;
}
but it isn't working
Tom doesn't have an Insert Page plugin?
To create something like what you have currently, you can actually use our page hero add on:
https://docs.generatepress.com/article/header-element-overview/
Then it will give you way more control.
Let me know if this helps :)