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. CHANGING THE POSITION OF NUMBERS AND TITLE OF CAROUSEL

CHANGING THE POSITION OF NUMBERS AND TITLE OF CAROUSEL

Scheduled Pinned Locked Moved Addons
6 Posts 2 Posters 166 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.
  • S Offline
    S Offline
    spontans
    wrote on last edited by
    #1

    Dear beloved team,

    I want to separate the numbers (1/x) and the title of the carousel slides and position them in the corner of the screen. (see illustration).
    I've tried to change the position of the number/title elements to "fixed" and tried to position them using "top,left" CSS parameters but with no success. They wouldn't move anywhere out of the carousel's frame.

    Screenshot-2024-06-25-at-11.18.30-AM.jpg

    Could you please recommend me a solution?

    here is the website:
    https://cleanplatestudios.com/private/namazu

    Thanks a lot,
    Sasha

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

      can you send your website address, /wp-admin/ username and password and a link to this topic to info@laytheme.com?

      its easier for me if i just enter the css directly on your site. so i can see if it works well

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

        you may also try and use the search function because we had this question a couple of times before, but i think its kinda hard to find

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

          Screenshot 2024-07-02 at 10.43.10.png

          ok so we enter a class of "custom-carousel" for the row class!

          Screenshot 2024-07-02 at 10.43.50.png

          (edit html class and id)

          and in the gridder, we right click the row and click "use browser height for row height".

          lay options → carousel:
          captions has to be left, and numbers right, or other way around. they cant have the same position. also set "space left", "space top", "space right" to 0:

          Screenshot 2024-07-02 at 11.01.13.png

          then use this CSS:

          /*make carousel sink fixed
          change 10px here for other spaces. use vw instead of px for percentage value.
          */
          .custom-carousel .lay-carousel-sink-parent {
              position: fixed;
              bottom: 10px;
              left: 10px;
              right: 10px;
          }
          /* hide inactive captions */
          .custom-carousel .single-caption{
              opacity: 0;
              pointer-events: none!important;
          }
          /* show active caption */
          .custom-carousel .single-caption.caption-active{
              opacity: 1;
              pointer-events: auto!important;
          }
          /* make captions align to bottom */
          .custom-carousel .lay-carousel-sink .single-caption{
              vertical-align: bottom;
          }
          /*make numbers align to bottom*/
          .custom-carousel .numbers{
              top: auto!important;
              bottom: 0!important;
          }
          
          /* the css below just changes parents of .lay-carousel-sink-parent so position fixed will work: */
          /*carousel cant have transform, otherwise position fixed wont work*/
          .custom-carousel .col.type-carousel{
              transform: none!important;
          }
          
          1 Reply Last reply
          0
          • arminunruhA Offline
            arminunruhA Offline
            arminunruh
            Global Moderator
            wrote on last edited by
            #5

            so now it looks like this:

            Screenshot 2024-07-02 at 11.29.01.png

            1 Reply Last reply
            0
            • arminunruhA arminunruh referenced this topic on
            • arminunruhA Offline
              arminunruhA Offline
              arminunruh
              Global Moderator
              wrote on last edited by arminunruh
              #6

              alright, so @spontans said he wanted the title and number both at the bottom left like here:

              unnamed.png

              add this css, additionally to the css in my previous post above.

              /* make number and caption be above one another, with a gap */
              .custom-carousel .lay-carousel-sink.captions-left .single-caption-inner{
                  flex-direction: column;
                  gap: 10px;
              }
              /* make caption be on top and number below*/
              .custom-carousel .lay-carousel-sink.captions-left .numbers{
                  order: 1;
              }
              .custom-carousel .lay-carousel-sink.captions-left .sink-caption{
                  order: 0;
              }
              

              also in lay options → carousel addon, set numbers position and captions position both to "left"

              1 Reply Last reply
              0
              • arminunruhA arminunruh referenced this topic on
              • arminunruhA arminunruh referenced this topic
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              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.
              • First post
                Last post
              0
              • Recent
              • Tags
              • Popular
              • Users
              • Search