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. Invert effect text on background

Invert effect text on background

Scheduled Pinned Locked Moved General Discussion
8 Posts 4 Posters 146 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.
  • D Offline
    D Offline
    dominikstefan
    wrote on Oct 8, 2024, 11:58 AM last edited by
    #1

    How can I do the same effect as here: https://byus.global/ for my navigation bar (site title + menu) on top?

    dominikschefer.com

    Thank you

    1 Reply Last reply
    0
    • J Offline
      J Offline
      joshsender
      wrote on Oct 8, 2024, 3:21 PM last edited by
      #2

      not a lay theme person, just trying to help:

      You can add "mix-blend-mode: difference" as css to the site title and nav:
      image.png

      .sitetitle, .laynav, .project-arrow, .mobile-title {
          mix-blend-mode: difference;
      }
      

      ^ css you want to add! But the text needs to be WHITE to properly invert (so make your nav and title link colors white.

      https://joshsender.com

      1 Reply Last reply
      2
      • A Offline
        A Offline
        alvarodoze
        wrote on Oct 10, 2024, 8:31 AM last edited by
        #3

        Exactly what @joshsender said. I did it that way.
        To make the nav white:

        nav.primary a {
            color: white;
        }
        
        nav.mobile-nav a {
            color: white;
        }
        

        Check my website: http://alvarodoze.com and you can check my code in more detail.

        1 Reply Last reply
        0
        • A Offline
          A Offline
          alvarodoze
          wrote on Oct 10, 2024, 8:35 AM last edited by
          #4

          If you check the forum properly you will find a better answer.

          1 Reply Last reply
          0
          • A Offline
            A Offline
            arminunruh
            Global Moderator
            wrote on Oct 11, 2024, 4:42 PM last edited by
            #5

            ah yea very good answers!

            1 Reply Last reply
            0
            • D Offline
              D Offline
              dominikstefan
              wrote on Oct 14, 2024, 7:45 AM last edited by
              #6
              This post is deleted!
              1 Reply Last reply
              0
              • D Offline
                D Offline
                dominikstefan
                wrote on Oct 14, 2024, 9:06 AM last edited by
                #7

                thank you so much to everyone. desktop is working fine but I am having troubles with mobile. not sure how to fix the burger button and menu… any leads? @joshsender

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  arminunruh
                  Global Moderator
                  wrote on Oct 29, 2024, 7:45 AM last edited by
                  #8

                  nice website! ah i see u managed to do it for ur mobile version too

                  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
                  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