Archived topic
Widget on a normal Page .. PlugIn "Widget Shortcode" doesn´t work
18 replies · Started by gut.besser.vermesser on January 15, 2022
Hello .. I would like to insert a widget from https://de.wordpress.org/plugins/live-weather-station/ in a normal Page.. but with https://en-gb.wordpress.org/plugins/widget-shortcode/ it doesn't work (PlugIn no more compatible with the newest WordPress-Version ??)!
Any other ideas??
GBV
Hi there,
where on the page are you wanting that widget displayed? Is it within the pages content ?
https://www.langemeyer.net/wetter .. I´ve done it with https://wordpress.org/plugins/widgets-on-pages/#description
But how can I align the "widget-blocks" on the page in center??
Can i see the page ?
But I've posted the link in the posting before, too ;)
Hi there,
you can use this CSS to center the LWS widget:
.lws-widget-container {
margin: auto !important;
}
Many thanks ..
addendum: it's not really centered.. (see mobile page)
Try this CSS as well:
@media (max-width: 1024px) {
.wop_tiny1 ul {
margin-left: 0;
}
}
No .. doesn't fix it :-((
I'm not seeing my CSS being added currently.
Can you confirm?
I´ve delete it .. because davids version looks simple better.
You would need David's code and my code.
I can't help if you don't follow my instruction.
I´ve tested .. don't fix the view .. but I insert it again for your "view" .. this is now in css.
.lws-widget-container {
margin: auto !important;
}
@media (max-width: 768px) {
.wop_tiny1 ul {
margin-left: 0;
}
}
Have you tried clearing your browser cache?
It's clearly working for me:
https://www.screencast.com/t/q5mOnzDe0Jaf