Am I the only one with this problem?
How did anybody else solve this?
Hi Frank,
I thought I typed a reply on Sunday, maybe I didn’t hit enter.
The easiest way is probably with a bit of CSS.
When I am on my laptop I will work some out ( typing on a phone right now )
This additional CSS will do it
body.single-event .widget-area .qem {
display:none;
}
explained
body.single-event
selects the single event page
.widget-area .qem
selects the QEM inside the widget area
display:none;
Sets the display to none
There are other methods, such as child themes and custom templates or widget logic plugins.
But likely more complex than above.
Dear Alan,
you are my hero.
I owe you at least a cafe, should we meet.
Keep up the good work.
Kind regards,
Frank
I now tried to do the same for this page:
https://www.hvd-potsdam.de/veranstaltungen/
but wasn’t able to figure it out. Frustrating.
How can I learn this?
How can I learn this?
Good question. The tool you need to use is the browser developer tool – in Chrome it is F12 or right click.
As that is a specific page you need to select it by page id
Here is a quick video of me finding it.
VIDEO
body.page-id-1928 .widget-area .qem {
display:none;
}
Thanks Alan,
I was poking around in that area, but now recognized, the post id is used, when I edit a page. I think I learned something for life. π
Thanks a bunch!
Thank you Alan, I like your attitude.