• Resolved mrrcomp

    (@mrrcomp)


    Hi
    I am attempting to create my slideshow as a header but only on certain pages.

    I tried using the css similar to this but it doesn’t work

    `body.page-id-26 .site-header, body.page-id-26 .site-footer, body.page-id-26 .metaslider-id-824,
    body.page-id-26 .main-navigation

    {
    display: none;
    }
    body.page-id-26 #metaslider.metaslider-id-824{
    height=0px !important;
    }

    Would appreciate suggestions 🙂

    Regards

    Mrrcomp

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter mrrcomp

    (@mrrcomp)

    Hi
    In the meantime i removed the shortcode from the header.pphp and created a single page with the slideshow allowing all the other pages to not have it and will just use shortcode directly in blocks on other pages. Not the ideal situation will probably to build several different sideshows for various pages

    Would still like to know if its possible to do it via CSS as about

    Thanks

    Hi,

    Please share the pages’ IDs where you need to display the slider. I will prepare a CSS that works for you.

    Thread Starter mrrcomp

    (@mrrcomp)

    HI
    I would like it on the following pages:

    page_id=62
    ?post_type=produt_type

    Regards

    Meir

    Hi,

    Please try the following CSS:

    #metaslider-id-6 {
    display: none;
    }

    .page-id-62 #metaslider-id-6 {
    display: block !important;
    }

    You need to change (6) in #metaslider-id-6 with your slider ID in the previous CSS.

    If it didn’t work, please add the slider to the page and share the page link with me.

    Thread Starter mrrcomp

    (@mrrcomp)

    @mohammedeisa

    Thanks 🙂

    mohammedeisa

    (@mohammedeisa)

    Hi @mrrcomp,

    You’ve marked this ticket as resolved. I hope this means that your issue has been fixed.

    Please don’t hesitate to open a new ticket if you need any help.

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Slideshow as Header on Specific Pages Only’ is closed to new replies.