Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • 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 142 Views
  • 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 Offline
    Z Offline
    zugol
    wrote on Oct 25, 2023, 10:06 AM 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
    • A Offline
      A Offline
      arminunruh
      Global Moderator
      wrote on Oct 26, 2023, 4:15 PM 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 Offline
        Z Offline
        zugol
        wrote on Oct 31, 2023, 8:15 AM last edited by
        #3

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

        1 Reply Last reply
        0
        • J Offline
          J Offline
          jj7ks
          wrote on Oct 31, 2023, 1:50 PM 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 Oct 31, 2023, 4:07 PM
          0
          • J jj7ks
            Oct 31, 2023, 1:50 PM

            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 Offline
            A Offline
            alasdair17
            wrote on Oct 31, 2023, 4:07 PM 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 Offline
              J Offline
              jj7ks
              wrote on Oct 31, 2023, 4:13 PM 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 Oct 31, 2023, 8:57 PM
              0
              • J jj7ks
                Oct 31, 2023, 4:13 PM

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

                A Offline
                A Offline
                alasdair17
                wrote on Oct 31, 2023, 8:57 PM last edited by
                #7

                @jj7ks did you update the permalink as well?

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  arminunruh
                  Global Moderator
                  wrote on Nov 5, 2023, 10:16 PM 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
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes

                  6/8

                  Oct 31, 2023, 4:13 PM


                  I also code custom websites or custom Lay features.
                  💿 Email me here: 💿
                  info@laytheme.com

                  Before you post:
                  1. When using a WordPress Cache plugin, disable it or clear your cache.
                  2. Update Lay Theme and all Lay Theme Addons
                  3. Disable all Plugins
                  4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

                  This often solves issues you might run into

                  When you post:
                  1. Post a link to where the problem is
                  2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
                  3. If the problem is difficult to explain, post screenshots / link to a video to explain it
                  Online Users
                  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.
                  6 out of 8
                  • First post
                    6/8
                    Last post
                  0
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Search