• Resolved Agenci Marknadsbyr?

    (@widerclothing)


    Hello!

    I want to change the search icon to the text “SEARCH” instead and make it aligned and a part of my header.

    Can you guys help me with that?

    Check the image what I’ve tried so far. But this just adds the text next to the icon. I want the icon completely removed.
    https://ibb.co/hmy3MKH

    Best regards,
    Edvin

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello Edvin,

    Expanding on that, maybe you can add the following:

    .dgwt-wcas-ico-magnifier-handler {
    	display: none;
    }
    
    .dgwt-wcas-search-wrapp {
    	padding-top: 33px;
    }

    Best regards,
    Clint

    Thread Starter Agenci Marknadsbyr?

    (@widerclothing)

    Thank you so much!

    One problem. On the mobile I have another menu applied. I need to apply the same style to that one, but I cant find how to target it on the mobile with CSS.

    https://ibb.co/svqV560

    Can you help me to elaborate on that one as well?

    Hello Edvin,

    You can set the search menu item to display as “Search icon”. Then, we can try applying the same CSS code for the mobile view.

    Best regards,
    Clint

    Thread Starter Agenci Marknadsbyr?

    (@widerclothing)

    Thank you for the quick answer!

    That worked, now I have the search text there. Now I you just need to help me set the right position of it for mobile view.
    https://ibb.co/gjF5MMs

    One other thing. When you click the search icon this shows.
    https://ibb.co/PcS2D6C
    It works fine, but it seems a little bit misplaced. The search bar keeps going outside of the screen. How do I fix that on just the mobile view?

    Sincerely,
    Edvin

    Hello Edvin,

    Can you try the following:

    @media only screen and (max-width: 992px) {
        .dgwt-wcas-search-wrapp {
    	    padding: 8px 0 8px 10px !important;
    	    text-indent: 20px;
    	    border-bottom: 1px solid rgba(0, 0, 0, 0.03)
        }
        
        .dgwt-wcas-search-wrapp-mobile .dgwt-wcas-search-form {
    	    position: relative;
    	    left: -10px;
    	    top: -8px;
    	    width: 101%;
        }
    }
    
    @media only screen and (max-width: 600px) {
        .dgwt-wcas-search-wrapp {
    	    text-indent: 5px;
        }
        
        .dgwt-wcas-search-wrapp-mobile .dgwt-wcas-search-form {
        	width: 105%;
        }
    }

    Best regards,
    Clint

    Thread Starter Agenci Marknadsbyr?

    (@widerclothing)

    You’re awesome Clint! Appreciate the help. Solved everything.

    Have a wonderful day ?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Replace Icon with the text “Search”’ is closed to new replies.