Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. Addons
  3. CAROUSEL: Show page numbers for specific sites only

CAROUSEL: Show page numbers for specific sites only

Scheduled Pinned Locked Moved Addons
8 Posts 4 Posters 742 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z
    Z
    zugol
    wrote on last edited by
    #1

    Is it possible to show the amount of slides (eg. 1/4) only on specific pages/projects?

    I want to show the number of slides in my projects, but i dont want to show them on the frontpage, but still use the plugin there.

    Regards

    1 Reply Last reply
    0
    • arminunruhA
      arminunruhA
      arminunruh
      Global Moderator
      wrote on last edited by
      #2

      i will need to add this as a feature, to be able to show hide captions and numbers on a per carousel basis

      but u can hide them with css. first find the body selector / body slug for your frontpage:
      https://laytheme.com/documentation/custom-css-styling.html#css-based-on-current-page

      then

      body.slug-home .numbers{
      display: none!important;
      }
      
      1 Reply Last reply
      0
      • Z
        Z
        zugol
        wrote on last edited by
        #3

        wow, great, thank you, worked like a charm!

        1 Reply Last reply
        0
        • J
          J
          jj7ks
          wrote on last edited by
          #4

          Hey, i had the same question, but the css code above didnt work out

          but this did it (idk why :D)

          .slug-home .lay-carousel-caption-under-slide-number{
          display: none !important;
          }

          A 1 Reply Last reply
          0
          • J jj7ks

            Hey, i had the same question, but the css code above didnt work out

            but this did it (idk why :D)

            .slug-home .lay-carousel-caption-under-slide-number{
            display: none !important;
            }

            A
            A
            alasdair17
            Global Moderator
            wrote on last edited by
            #5

            @jj7ks hey you need to change the word 'home' to the name of your page which has the carousel in it.

            i.e if your carousel is in a page called 'photos' it would be:

            .slug-photos .lay-carousel-caption-under-slide-number{
            display: none !important;
            }

            1 Reply Last reply
            0
            • J
              J
              jj7ks
              wrote on last edited by
              #6

              Hey @alasdair17
              yes i know, i changed my page-name here to "home" to reference armin's code

              A 1 Reply Last reply
              0
              • J jj7ks

                Hey @alasdair17
                yes i know, i changed my page-name here to "home" to reference armin's code

                A
                A
                alasdair17
                Global Moderator
                wrote on last edited by
                #7

                @jj7ks did you update the permalink as well?

                1 Reply Last reply
                0
                • arminunruhA
                  arminunruhA
                  arminunruh
                  Global Moderator
                  wrote on last edited by
                  #8

                  your css selector is different because your numbers are under each slide, because you chose these settings:

                  Screenshot 2023-11-05 at 19.15.58.png

                  the css selector is different than without those settings enabled

                  eventually i'll need to add more settings to the carousel to be able to hide/show numbers on a per-carousel basis i think

                  1 Reply Last reply
                  0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  Online Users
                  Q
                  quentin.v
                  G
                  gd_mrsn
                  Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
                  laytheme.com
                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Search