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. General Discussion
  3. Change site title & menu text color depending on the background image of fullscreen-carousel

Change site title & menu text color depending on the background image of fullscreen-carousel

Scheduled Pinned Locked Moved General Discussion
8 Posts 3 Posters 540 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.
  • C Offline
    C Offline
    Crossbow92
    wrote on last edited by
    #1

    Hi

    I have been searching in the forum for info on how to change the site title & menu text color when you have a fullscreen carousel like I have at danielballesta.com, depending on the color of the image it is displaying.

    As you can imagine in the images that have a dark background I would like to display both site title & menu text on white and viceversa.

    Could you help or point me at the right direction to get that done?

    I have been trying diferent solution at different links in the forum like the one below, but some of them are outdated and don't work anymore,

    http://laythemeforum.com:4567/topic/694/different-menu-color-for-each-slide-on-fullscreen-slider

    thanks in advance :) you guys are doing a great work!!

    1 Reply Last reply
    0
    • edgrbnzE Offline
      edgrbnzE Offline
      edgrbnz
      wrote on last edited by
      #2

      Unfortunately the site at danielballesta.com is not reachable…

      ✦ ✦ ✦

      1 Reply Last reply
      0
      • C Offline
        C Offline
        Crossbow92
        wrote on last edited by
        #3

        It should be some kind of error but it is online, at least I can access now, and some friends too

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

          Dear @Crossbow92
          on the fullscreen slider it is easy. The slide number will be in the body tag. Like in the Forum link…
          For the fullscreen carousel it is way more complicated and will involve some proper coding.

          You are familiar with jQuery?

          Best!

          Marius

          www.mariusjopen.world

          1 Reply Last reply
          0
          • C Offline
            C Offline
            Crossbow92
            wrote on last edited by
            #5

            Hi again!

            As I am not familiar with Jquery I just bought the Fullscreen slider add-on. Still have some problems to get that done. I inserted this code and still not working, but it should right?:

            body.fp-viewing-0-0 .sitetitle-txt-inner span{
            color: white;
            }
            body.fp-viewing-0-0 .primary a{
            color: white;
            }

            danielballesta.com

            Can I have some light on this?

            Thanks in advance <3

            1 Reply Last reply
            0
            • mariusjopenM Offline
              mariusjopenM Offline
              mariusjopen
              Global Moderator
              wrote on last edited by
              #6

              Dear @Crossbow92
              Have a look with this custom code:

              .fp-viewing-0-9 .menu-item span {
                  color: red !important;
              }
              

              Best!

              Marius

              www.mariusjopen.world

              1 Reply Last reply
              0
              • C Offline
                C Offline
                Crossbow92
                wrote on last edited by
                #7

                it works! thank you so much Marius

                1 Reply Last reply
                0
                • mariusjopenM Offline
                  mariusjopenM Offline
                  mariusjopen
                  Global Moderator
                  wrote on last edited by
                  #8

                  Dear @Crossbow92
                  sweet! Happy to hear!

                  Best!

                  Marius

                  www.mariusjopen.world

                  1 Reply Last reply
                  0
                  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
                  A
                  alasdair17
                  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