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. Using mix-blend-mode on text containers

Using mix-blend-mode on text containers

Scheduled Pinned Locked Moved General Discussion
9 Posts 4 Posters 533 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.
  • H Offline
    H Offline
    hx
    wrote on Nov 22, 2020, 6:53 PM last edited by
    #1

    Hello everyone,

    I am currently playing around with CSS mix-blend-mode for future use, however it's not working when applied to text containers - while it works with the site title and menu as demonstrated here: https://brutalo.biz/

    This is the CSS code I am using:

    .static {
    	mix-blend-mode: difference !important;
    	position: fixed !important;
      top: 35% !important;
      left: 20% !important;
      transform: translate(-25%, -25%)!important;
    }
    
    .blend {
    	mix-blend-mode: difference !important;
    }
    

    The custom classes are then applied to the text containers, but nothing happens, neither on the video nor the blue background. I tried applying #fff in the text formats, the font editor etc. but also, nothing changes. I wonder if I'm just targeting the wrong divs / classes ?

    As always, thank you for any input. xx

    1 Reply Last reply
    0
    • R Offline
      R Offline
      Richard
      Global Moderator
      wrote on Nov 27, 2020, 3:09 AM last edited by
      #2

      Dear @hx

      When i apply the 'difference' to the row it works:

      Screen Shot 2020-11-27 at 4.03.54 PM.png

      .row-1 .column-wrap {
          mix-blend-mode: difference;
      }
      

      You may wish to apply a special Class or ID to the row, to be safe:
      Screen Shot 2020-11-27 at 4.08.19 PM.png

      Hope this helps & have a wonderful day! :)

      Best
      Richard

      1 Reply Last reply
      0
      • A Offline
        A Offline
        alvarodoze
        wrote on Dec 28, 2023, 7:35 PM last edited by
        #3

        Hi @arminunruh - Is there a way to apply mix-blend-mode: difference; to a "Project index"? I am trying to follow this but it doesn't seem to work...
        https://alvarodoze.com/try-copy-2/
        Thank you so much

        1 Reply Last reply
        0
        • A Offline
          A Offline
          arminunruh
          Global Moderator
          wrote on Dec 29, 2023, 1:57 PM last edited by
          #4

          no i think that doesnt work as i replied in the other subject

          1 Reply Last reply
          0
          • A Offline
            A Offline
            alvarodoze
            wrote on Jan 3, 2024, 10:32 AM last edited by
            #5

            Is just that when you use the "project index" + "image hover" with the full screen it becomes really hard to read making it not accessible especially if the text is dark and the image is dark too... Do you think there is a way around or that you could work on making it possible?... 🙏🙏 I would really much appreciate it.

            1 Reply Last reply
            0
            • A Offline
              A Offline
              arminunruh
              Global Moderator
              wrote on Jan 4, 2024, 6:52 AM last edited by
              #6

              no i think i cant make it possible :/

              1 Reply Last reply
              0
              • A Offline
                A Offline
                alvarodoze
                wrote on Jan 4, 2024, 10:42 AM last edited by
                #7

                Okeey.... 😮‍💨
                It is technically impossible or do you think if I hire someone with this expertise can make it work?

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  arminunruh
                  Global Moderator
                  wrote on Jan 4, 2024, 11:14 AM last edited by
                  #8

                  yea i think technically not possible

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    alvarodoze
                    wrote on Jan 4, 2024, 3:04 PM last edited by
                    #9

                    Ok thanks!

                    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
                    antwal
                    22 minutes ago
                    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