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. Change text color depending on carousel image

Change text color depending on carousel image

Scheduled Pinned Locked Moved Addons
4 Posts 3 Posters 573 Views 2 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.
  • L
    L
    lakitu
    wrote on last edited by
    #1

    Hi everyone,

    I have an about text which is #0000ad and when there is a dark image displayed, I want it to change to #ffffff but I have been looking everywhere and could not find the solution, although changing the caption and number colors was possible with the alt-button class.

    the page link is: http://franmonroy.com/carousel/

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

      oh yea mmh :/ i think its not possible

      1 Reply Last reply
      0
      • N
        N
        nuotio
        wrote on last edited by
        #3

        I have also tried to get similar system working, but without luck. I'm using the carousel as a full-screen slider and would love to change colors of all texts when coming to a slide that uses the alternative buttons. I thought this either of these would work but no luck yet…

        <script>
        window.laytheme.on("newpageshown", function(){
        if (jQuery("div").hasClass(".alt-buttons")) {
        jQuery("._Menu").css("color", "#BA4823");
        }
        });
        </script>

        OR

        <script>
        window.laytheme.on("newpageshown", function(){
        if (jQuery(".alt-buttons")[0]){
        jQuery("._Menu").css("color", "#BA4823");
        }
        });
        </script>

        Any idea is this even possible or have I misunderstood something completely? Having an option for ie negative colored captions and numbers on certain slides would make the carousel add-on more flexible especially as there's already the option to use alternative buttons.

        Nevertheless, I understand that I'm asking a way more than what the carousel add-on is proabably meant to be, so I understand if this is not something that will ever be possible...

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

          hey its not possible sorry

          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
          K
          kp-hb
          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