• Is there a way to hide the event widget in the side bar, while the full event is displayed?

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter Frank Spade

    (@spade)

    Am I the only one with this problem?

    How did anybody else solve this?

    Plugin Author Alan Fuller

    (@alanfuller)

    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 )

    Plugin Author Alan Fuller

    (@alanfuller)

    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

    Plugin Author Alan Fuller

    (@alanfuller)

    There are other methods, such as child themes and custom templates or widget logic plugins.

    But likely more complex than above.

    Thread Starter Frank Spade

    (@spade)

    Dear Alan,
    you are my hero.
    I owe you at least a cafe, should we meet.
    Keep up the good work.
    Kind regards,
    Frank

    Thread Starter Frank Spade

    (@spade)

    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?

    Plugin Author Alan Fuller

    (@alanfuller)

    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.

    body.page-id-1928  .widget-area .qem {
        display:none;
    }
    Thread Starter Frank Spade

    (@spade)

    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!

    Plugin Author Alan Fuller

    (@alanfuller)

    Give a man a fish, and you feed him for a day. Teach a man to fish, and you feed him for a lifetime.

    Thread Starter Frank Spade

    (@spade)

    Thank you Alan, I like your attitude.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Hide widget on full event view’ is closed to new replies.