Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #335177
    HansH
    Participant

    Hello Minal,

    The latest litle problems:
    1. Is it possible to make the site title not clickable? I saw several css solutions, but no-one worked.

    2. The color of buttons on home page. The button color is #000080. After input the same color for hovering: the color turns into #000000. You can see this here.

    Is there a solution for these two items?

    Thank you in advance

    Hans Hagmeijer

    #335186
    minal
    Keymaster

    Hello Hans,

    To make site title not clickable you have to uncheck the settings option just like shown on the image below.

    site

    and about the hover color on button here is the CSS Snippet for you

    .wp-block-button__link:hover {
    	color: #b93636 !important;
    }

    change the color code in the following CSS as per your need.

    Sincerely,
    Minal

    #335213
    HansH
    Participant

    Hello Minal,

    Thank you.

    The question about the link in site title I should have known. Sorry for that.

    The Css you provided changes the text link.
    What I tried to explain -sorry for wrong explanation- is that while hovering above the button the background color changes into black.
    I should like that the button background color doesn’t change while hovering.

    Kind regards

    Hans Hagmeijer

    #335227
    minal
    Keymaster

    Hello Hans,

    If you want the same background color on hover as the background color

    you have to give the same background color on the hover button, Here is the CSS for it.

    
    
    .wp-block-button__link:hover {
    
          background: var(--wp--preset--color--custom-ttl) !important;
    
    }
    
    

    Change the color value on CSS as per your need.

    Sincerely,

    Minal

     

    #335230
    HansH
    Participant

    Hello Minal,

    Works fine.
    Thank you for answering,

    Kind regards

    Hans Hagmeijer

    #335231
    minal
    Keymaster

    Hello Hansh,

    Here is the updated css for that hover color

    please update the existing CSS with given code below

    .wp-block-button .wp-block-button__link:hover {
    
       background: var(--wp--preset--color--custom-ttl) !important;
    
    }

     

    Sincerely,

    Minal

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘site title not clickable / buttons “wrong” color by hovering’ is closed to new replies.