• Resolved mxdfits

    (@mxdfits)


    I currently have the pimp my site – particles enabled on my website. Is there a way to have the particles only display on the homepage of my website rather than the entire site? My customers have mentioned they don’t prefer it on the interior pages. Please advise if there’s a code or any way to specify this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Themosaurus

    (@themosaurus)

    Hi @mxdfits,

    Thank you for reaching out to us.

    I’m afraid it is not possible at the moment. However, we’ll think about it for the next update.

    In case you want to hide the stickers, you can achieve this by using this CSS snippet:

    body:not(.home) .pimp-my-site-sticker-board{
    display:none;
    }

    Hope this will help you.

    Best,

    Plugin Author Themosaurus

    (@themosaurus)

    Hi @mxdfits ,

    You can hide the particles using this snippet:

    body:not(.home) > div:not([class])[id] > canvas { 
       display: none; 
    }

    Note that this snippet will no longer work after the next update of Pimp My Site plugin. It seems the <div> that contains the particles doesn’t have any CSS class or ID anymore. This is why we cannot easily target it in CSS. The snippet I just gave you targets a <canvas> in a <div> that has no class or ID. In the next update, we’ll add a specific CSS class, so the snippet will have to be adapted by using the right selector.

    Hope this will help you. ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Pimp My Site – particles’ is closed to new replies.