• I would like to show the slider on only some of the pages, but I don’t know coding.

    I put this code in Easy Custom Css and it made the slider disappear on all pages:

    <style type=”text/css”>
    .head-img { display:none; }
    </style>

    I’m assuming it is just a little tweak to the display section but I gave up on the guessing game!
    I truly appreciate any help!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello!

    With this code you hide the slider everywhere. It can be done with some custom CSS code. If you could please share a link to your site and tell me where you would like it to show, I am happy to provide you the necessary code. And please remove the above mentioned code.

    Thank you!

    Cheers,
    Toth Balint BT

    Thread Starter YasminaR

    (@yasminar)

    Thank you very much for your response!

    The website is https://www.greenconsultantsllc.com
    I want the slide to show on the home page (currently called: Sustainable Business Consulting), Our Services, and Contact Us.

    Regarding the above code, how can I remove it? ?? As you can tell,I’m very new to this!

    Thanks Again!!

    Sorry, I was not really clear. I have meant that please delete the code you have previously put in Easy Custom CSS plugin if it is still here.

    And please paste in this code there:

    .head-img {
      display: none;
    }
    
    .page-id-28 .head-img, .home .head-img, .page-id-4 .head-img {
    	display: block;
    }

    What this does is by default hides the slider everywhere, and adds the exceptions on the 3 pages where you want it to appear.

    By the way, you have a really cool site there. Could I ask you, why are all the pages and posts password protected?

    Cheers,
    Toth Balint BT

    Thread Starter YasminaR

    (@yasminar)

    Hi BT,

    The code worked perfectly!
    As of your complement, it is a complement that I cherish coming from a web designer:) I am a green architectural designer btw. The website is still work in progress that is why it is still protected. However, it will go public Very Soon! Stay Tuned!

    Thanks and best regards,
    Yasmina

    I am glad that I could help you. If you need any help, just feel free to drop a line, and I am happy to assist.

    By the way, check out this plugin, I usually use this while I am developing

    I wish you good designing, and many visitors ??

    Cheers,
    Toth Balint BT

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to show the slider on only some of the pages?’ is closed to new replies.