Action Hook Graphene Dynamic Widget > Display none

  • patsch27



    have insert follow CSS-code for Pages in graphene-child-theme:

    .page-id-(ID) #graphene-dynamic-widget-graphene_before_footer { display: none; }

    and works perfect.

    For Posts have insert follow CSS-code:

    #post-(ID) #graphene-dynamic-widget-graphene_before_footer { display: none; }

    Does not work for Post. Display => yes

    Have an alternate code from Forum here:

    #post-(ID) #text-(ID) {display: none;}

    But also does not work!

    Who knows the correct code for posts?

    Thank you





    For posts,

    .postid-(ID) #graphene-dynamic-widget-graphene_before_footer {
    display: none;

    Or, you can use Widget Logic and Conditional Tags to control the appearance of widget instead of hiding it with CSS.



    Hello Prasanna,

    thank you for your reply.

    .postid-(ID) > works perfect




    Marking thread as resolved. You can do this yourself as well.

Viewing 4 posts - 1 through 4 (of 4 total)

  • You must be logged in to reply to this topic.
Do NOT follow this link or you will be banned from the site!