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. Connect and find Help
  3. Custom Coding for blur effect

Custom Coding for blur effect

Scheduled Pinned Locked Moved Connect and find Help
12 Posts 4 Posters 2.3k Views 1 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.
  • K
    K
    kalamakumaran
    wrote on last edited by
    #2

    Hi,

    i sent you an email ;)

    1 Reply Last reply
    2
    • RichardR
      RichardR
      Richard
      Global Moderator
      wrote on last edited by
      #3
      @sibyllehornung @kalamakumaran

      Cool! best of luck, thank you for using Lay Theme! 🌝


      1 Reply Last reply
      0
      • S sibyllehornung

        Hi, I have a tiny coding request.

        This is my website:
        www.sibyllehornung.com

        I would like to add a blur effect over my buttons
        "Work", "Else", "Shop", and "Information".

        The blur effect should be 0.8px like
        filter: blur(0.8px);

        • With hover, blur should go away, and when a page is clicked, the blur effect of that page should go away, too.
          [Similar to this page: http://kaiblamey.com/selectedwork/
          but in my case, the blur effect of a page would disappear when a page is activated.]

        Both on Mobile + Desktop.

        Feel free to reach out also per email:
        work@sibyllehornung.com

        R
        R
        Rogue
        wrote on last edited by
        #4

        @sibyllehornung Hello, I see you have made it in the meantime. Would you like to share your experience?

        1 Reply Last reply
        0
        • RichardR
          RichardR
          Richard
          Global Moderator
          wrote on last edited by
          #5

          Dear @Rogue

          The user @sibyllehornung is applying the CSS 'filter' effect.

          e.g

          .custom-class{
          filter: blur(0.7
          px
          );
          

          https://www.w3schools.com/cssref/css3_pr_filter.asp


          Best wishes & have a great day 🌻
          Richard
          R 1 Reply Last reply
          0
          • RichardR Richard

            Dear @Rogue

            The user @sibyllehornung is applying the CSS 'filter' effect.

            e.g

            .custom-class{
            filter: blur(0.7
            px
            );
            

            https://www.w3schools.com/cssref/css3_pr_filter.asp


            Best wishes & have a great day 🌻
            Richard
            R
            R
            Rogue
            wrote on last edited by
            #6

            @Richard said in Custom Coding for blur effect:

            Dear @Rogue

            The user @sibyllehornung is applying the CSS 'filter' effect.

            e.g

            .custom-class{
            filter: blur(0.7
            px
            );
            

            https://www.w3schools.com/cssref/css3_pr_filter.asp


            Best wishes & have a great day 🌻
            Richard

            Thank you Richard. πŸ‘ŒπŸ˜€
            Only it does not work when I go with the mouse over the text in the menu bar. Sorry, I don't have that much CSS experience yet.

            1 Reply Last reply
            0
            • RichardR
              RichardR
              Richard
              Global Moderator
              wrote on last edited by Richard
              #7

              No worries @Rogue 🌝
              I believe you mean when 'hover' ing over the text.

              https://www.w3schools.com/cssref/sel_hover.asp

              Therefore the previous code would be changed to:

              .custom-class:hover {
              filter: blur(0.7
              px
              );
              

              (Note: the class custom-class must be defined by you/attached to the menu-items, maybe i mislead with that sorry - let me know if you need clarification )


              Best wishes & have a great day ✨
              Richard
              R 1 Reply Last reply
              0
              • R
                R
                Rogue
                wrote on last edited by Rogue
                #8
                This post is deleted!
                1 Reply Last reply
                0
                • RichardR Richard

                  No worries @Rogue 🌝
                  I believe you mean when 'hover' ing over the text.

                  https://www.w3schools.com/cssref/sel_hover.asp

                  Therefore the previous code would be changed to:

                  .custom-class:hover {
                  filter: blur(0.7
                  px
                  );
                  

                  (Note: the class custom-class must be defined by you/attached to the menu-items, maybe i mislead with that sorry - let me know if you need clarification )


                  Best wishes & have a great day ✨
                  Richard
                  R
                  R
                  Rogue
                  wrote on last edited by
                  #9

                  @Richard perfekt! It works.
                  next question .
                  When hovering, the blur should disappear, and when clicking on a page, the blur effect of that page should also disappear.

                  1 Reply Last reply
                  0
                  • RichardR
                    RichardR
                    Richard
                    Global Moderator
                    wrote on last edited by
                    #10

                    Dear @Rogue

                    Great to hear that it's working βœ…
                    If you wish to customise further you will have to research the CSS personally as my role as Forum Moderator must be focused on Lay Theme Bugs/Issues.

                    Between Google & Lay Theme's Documentation page you will have no trouble 🌝
                    https://laytheme.com/documentation.html#custom-css-styling

                    Happy to help you in the right direction though!

                    "When hovering, the blur should disappear,"

                    Look into either display:none or opacity:0
                    I would suggest opacity as this wont remove the content and maintain design, it will only make the words disappear ( opacity:0 ).


                    Best wishes & have a great day 🌻
                    Richard
                    R 1 Reply Last reply
                    0
                    • RichardR Richard

                      Dear @Rogue

                      Great to hear that it's working βœ…
                      If you wish to customise further you will have to research the CSS personally as my role as Forum Moderator must be focused on Lay Theme Bugs/Issues.

                      Between Google & Lay Theme's Documentation page you will have no trouble 🌝
                      https://laytheme.com/documentation.html#custom-css-styling

                      Happy to help you in the right direction though!

                      "When hovering, the blur should disappear,"

                      Look into either display:none or opacity:0
                      I would suggest opacity as this wont remove the content and maintain design, it will only make the words disappear ( opacity:0 ).


                      Best wishes & have a great day 🌻
                      Richard
                      R
                      R
                      Rogue
                      wrote on last edited by
                      #11

                      @Richard
                      Hello Richard,

                      thank you very much for your efforts. It has worked wonderfully.

                      1 Reply Last reply
                      0
                      • RichardR
                        RichardR
                        Richard
                        Global Moderator
                        wrote on last edited by
                        #12

                        Great to hear @Rogue ! Best wishes ✨

                        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
                        A
                        Anna_S
                        Z
                        zachludlow
                        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