How To Have A Search Bar Instead Of Search Icon In Shopify

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 พ.ย. 2024

ความคิดเห็น • 103

  • @astrowave5702
    @astrowave5702 หลายเดือนก่อน +1

    You can also paste the code into a new snippet and call it "full-search-bar" and use the render tag to display it in the header. Its easy and more organized. Very helpful video

    • @lownermusic
      @lownermusic หลายเดือนก่อน

      what is that render tag?

    • @ShopRetroGrade
      @ShopRetroGrade 23 วันที่ผ่านมา

      thank you so much

  • @rukiruki9741
    @rukiruki9741 3 หลายเดือนก่อน +3

    Anas, god bless you for sharing your knowledge. You are truly a gift and blessing to many of us. :)

    • @OnHOWGuy
      @OnHOWGuy  3 หลายเดือนก่อน +1

      Thank you and god bless you too, Im really happy to see comments like yours and no worries a lot of videos on the way.
      Cheers

  • @ouchylon6612
    @ouchylon6612 หลายเดือนก่อน

    Bro you're a cool teacher! Love your energy and guidance! Thank you

  • @BOYALONE011
    @BOYALONE011 3 หลายเดือนก่อน +2

    You deserve an award bro❤❤❤ thanks for everything

    • @OnHOWGuy
      @OnHOWGuy  3 หลายเดือนก่อน

      Thank you so much and i appreciate that and you're very welcome.
      Cheers

  • @Jawad.Rizvi1985
    @Jawad.Rizvi1985 3 หลายเดือนก่อน +1

    @OnHOWGuy yes absolutely right... based on the location....!
    French people can access their own language, Dutch can their own , Spanish can be like wise.....
    I know there is an app translation by Shopify, but that app does translations limited, not the complete page.

    • @OnHOWGuy
      @OnHOWGuy  3 หลายเดือนก่อน +1

      I see, I will research more about this as its not static edit or something because it will require using a third party API and never did that before on Shopify.
      I noted it and i'll see what i can do.
      Cheers

  • @gnazario3
    @gnazario3 2 หลายเดือนก่อน

    Hey thank you so much for the code. Question, How do I change the color of the border? I want it to be a certain color when not clicked and to remain the same when in focus.

  • @Melvin-s8n
    @Melvin-s8n หลายเดือนก่อน

    Perfekt video just what needed help with, now how to I customize with css 😅

  • @DonSeo-l2y
    @DonSeo-l2y หลายเดือนก่อน

    is there a way to change the transparency of the search bar?

  • @morayofficialug
    @morayofficialug 2 หลายเดือนก่อน

    Thanks Brother. your the best for real

    • @OnHOWGuy
      @OnHOWGuy  2 หลายเดือนก่อน

      I appreciate that and you're very welcome.
      Cheers

  • @juancarlosmartinez9845
    @juancarlosmartinez9845 3 หลายเดือนก่อน

    Hi Anas! I got a question: what if I wanted to make it SQUARE-LIKE? How could I tweak that? Thanks a lot for the info tho! Keep up the good work...

    • @OnHOWGuy
      @OnHOWGuy  3 หลายเดือนก่อน +1

      Hey, Yeah sure, on the third line of my code there is --inputs-radius: 20px and simply decrease the value if you want it less rounded.
      You're very welcome and glad i could help.
      Cheers

  • @WilliamEnzo-u2n
    @WilliamEnzo-u2n 3 หลายเดือนก่อน +1

    A new upgradeeee! thanks

    • @OnHOWGuy
      @OnHOWGuy  3 หลายเดือนก่อน +1

      Yes indeed haha and many more on the way.
      You're very welcome

    • @WilliamEnzo-u2n
      @WilliamEnzo-u2n 3 หลายเดือนก่อน +1

      @@OnHOWGuy thank you soon much you helped me a lot, I recently completed my store

  • @zesneakers
    @zesneakers ชั่วโมงที่ผ่านมา

    if i dont see the render header in my code section what should i do? ill apprucuate if you wull answer me

  • @InRagingDesigns
    @InRagingDesigns หลายเดือนก่อน

    looks great but the old search icon is still showing on my store. have a fix?

  • @felipegacitua4451
    @felipegacitua4451 3 หลายเดือนก่อน

    Thank you for the code! it works great. Do you know how to remove the old search Icon? Your one is on the right and looks great. But the old one is still on the left side. Thanks again

    • @OnHOWGuy
      @OnHOWGuy  2 หลายเดือนก่อน +1

      You're very welcome and glad i could help.
      My code removes the old icon and displays the search bar instead so not sure where you saw the old icon on the left in my store.
      Please let me know in new comment as its difficult or me to see replies now.
      Cheers

  • @Legc26
    @Legc26 2 หลายเดือนก่อน

    Great video!! thank you!

    • @OnHOWGuy
      @OnHOWGuy  2 หลายเดือนก่อน

      You're very welcome and glad you liked it!
      Cheers

  • @MabiniBookstore
    @MabiniBookstore 2 หลายเดือนก่อน

    Thanks bro, it worked even in Trade Theme

    • @OnHOWGuy
      @OnHOWGuy  2 หลายเดือนก่อน

      You're very welcome and yes it will, i do test my codes on most of the free themes.
      Cheers

  • @RoshSalaver
    @RoshSalaver หลายเดือนก่อน

    Hey there! your code works but i still have the search icon. Im using the Sense Theme

  • @orderoutofchaos6897
    @orderoutofchaos6897 26 วันที่ผ่านมา

    hi i have a question, how do i change the placeholder text, i was trying it myself and try changing the value
    " to the text i want" , in the placeholder attribute, but didnt work

  • @KeijiGer
    @KeijiGer 3 หลายเดือนก่อน

    Great Work thank you!
    Is there a possibility to hide the "old" search Icon - but only for desktop not mobile?

    • @OnHOWGuy
      @OnHOWGuy  3 หลายเดือนก่อน +1

      You're welcome, Not sure if understand the question correctly but what you saying is exactly what the code does in this video.
      It shows a search bar on desktop but on mobile it shows the old search icon because on mobile the search is taking too much space.
      Let me know if got this wrong, also please let me know in a comment as its difficult for me now to see replies.
      Cheers

    • @hzq16
      @hzq16 3 หลายเดือนก่อน +1

      He means that the old search Icon still shows after adding the search bar
      Pls let us know how to fix it

  • @vedvaze6782
    @vedvaze6782 2 หลายเดือนก่อน

    thank you so much for this code i just had one doubt as my code has transparent header the search bar is not transparent could you please make a video on how to make that transparent as well

    • @OnHOWGuy
      @OnHOWGuy  2 หลายเดือนก่อน

      You're very welcome, Well i actually did that on purpose because if it was transparent as well the search bar will not be visible properly, it will show just a thin black line as the search bar and visitors might not even notice it specially if you have a light color background but again the choice is yours and if you are interested let me know and i'll work on it.
      Please let me know in new comment as its difficult or me to see replies now.
      Cheers

  • @beham1016
    @beham1016 3 หลายเดือนก่อน

    Hi there Anas, as always you are the best! Can you please show us how to make the product image on the product page full width on the mobile version and maybe make the thumbnail carousels for the product pictures smaller? this can be a great video NGL!

    • @OnHOWGuy
      @OnHOWGuy  3 หลายเดือนก่อน +1

      Hey, Thank you, i appreciate that.
      Absolutely, i noted your request and i will work on it but keep in mind that images on mobile is full width on most themes so which theme are you using ?
      Please let me know in new comment as its difficult or me to see replies now.
      Cheers

    • @beham1016
      @beham1016 3 หลายเดือนก่อน

      @@OnHOWGuy hey there thanks Anas for everything! I use dawn theme . I wanted it to be like the product page of the store acemend, one thing that they do best is that they also have narrowed carrousel thumbnails.

  • @Movies-guru-t4i
    @Movies-guru-t4i หลายเดือนก่อน

    My search is changed with search bar. That's good. But, i also want search icon in the search bar.
    How i can get it?

  • @garrysingh8387
    @garrysingh8387 2 หลายเดือนก่อน

    Thanks

  • @Jawad.Rizvi1985
    @Jawad.Rizvi1985 3 หลายเดือนก่อน +2

    Hi Anas, can you please make a video about the translation of any language of the complete page. By default, it is in English, but if the customer wants to translate in his own language, the complete with text, descriptions, everything should be translate. I have already requested you before in your last video.
    Your sincere student.❤

    • @OnHOWGuy
      @OnHOWGuy  3 หลายเดือนก่อน +1

      Hey, You mean translating the content based on the visitor's location ?
      please confirm because i could understand your request correctly.
      Also please let me know in a new comment as its difficult for me to see replies now.
      Cheers

    • @Jawad.Rizvi1985
      @Jawad.Rizvi1985 3 หลายเดือนก่อน

      @OnHOWGuy yes absolutely right... based on the location....!
      French people can access their own language, Dutch can their own , Spanish can be like wise.....
      I know there is an app translation by Shopify, but that app does translations limited, not the complete page.

  • @Jawad.Rizvi1985
    @Jawad.Rizvi1985 3 หลายเดือนก่อน +1

    Hi Anas you are amazing 👏

    • @OnHOWGuy
      @OnHOWGuy  3 หลายเดือนก่อน +1

      Thank you brother, i appreciate that.
      Cheers

  • @matejjindra5240
    @matejjindra5240 3 หลายเดือนก่อน

    Hey, perfect video

    • @OnHOWGuy
      @OnHOWGuy  3 หลายเดือนก่อน

      Thank you

  • @leecollinson640
    @leecollinson640 3 วันที่ผ่านมา

    mine only shows the bar and text search inside the bar, it doesn't show the search icon to the right of the box ? please advise

  • @TAPCN
    @TAPCN 3 หลายเดือนก่อน

    Hi Anas, me again :)
    I wonder if you have a video on how to change the search icon only. I just wanted to make it a bit bolder. I tried to mofify the stroke-width on the liquid, but doesn't work!

    • @OnHOWGuy
      @OnHOWGuy  3 หลายเดือนก่อน +1

      Hey, Yeah i do actually, i made that video like a year ago .
      Cheers

  • @ShekharUnleased
    @ShekharUnleased 3 หลายเดือนก่อน

    Much needed 😍😍😍😍😍

    • @OnHOWGuy
      @OnHOWGuy  3 หลายเดือนก่อน

      Glad to hear that

  • @OnlyCr-7fans
    @OnlyCr-7fans 2 หลายเดือนก่อน

    Thankssss ❤❤❤❤❤

  • @GEORGEOBINDIKEOKONKWO
    @GEORGEOBINDIKEOKONKWO หลายเดือนก่อน

    please i cant find the render 'header-search in my code , what do i do?

  • @praveenbalaji2279
    @praveenbalaji2279 25 วันที่ผ่านมา

    Search Icon bar is too big, Can you pls tell how to reduce the overall size of the search bar

  • @adarshdadwal2833
    @adarshdadwal2833 2 หลายเดือนก่อน +1

    how to align that search bar to the center?

    • @OnHOWGuy
      @OnHOWGuy  2 หลายเดือนก่อน

      And the menu to where ?
      Please let me know in new comment as its difficult or me to see replies now.
      Cheers

  • @Jae-gv2uu
    @Jae-gv2uu หลายเดือนก่อน

    For me on the trade theme, it just came up with a whole lot of errors???

  • @matejjindra5240
    @matejjindra5240 3 หลายเดือนก่อน

    Can you please let me know how to move this beautiful search bar to left side of my store on the desktop ?
    😀

    • @OnHOWGuy
      @OnHOWGuy  3 หลายเดือนก่อน

      It will require a custom a code to do that and i dont have it now so i noted your request and i will make a video about that titled with your question, keep in mind that you have the menu on the left and that can cause visibility issues.
      Please let me know in a new comment as its difficult for me to see replies now.
      Cheers

  • @JonesInTheGame
    @JonesInTheGame หลายเดือนก่อน

    i have no header.liquid when i search for it ??

    • @GEORGEOBINDIKEOKONKWO
      @GEORGEOBINDIKEOKONKWO หลายเดือนก่อน

      same here , please were you able to fix the problem

  • @Mr.Mwamoto
    @Mr.Mwamoto 3 หลายเดือนก่อน

    Nice video, are you able to help me do the same on the impulse 5 theme, I cant t´find the render 'header-search'

    • @Mr.Mwamoto
      @Mr.Mwamoto 3 หลายเดือนก่อน

      I have found out that I have the Shopify Search & Discovery app, do I have to uninstall that?

    • @Mr.Mwamoto
      @Mr.Mwamoto 3 หลายเดือนก่อน

      I have some think that it calls, search-bar.liquid, can it be that area I have to wokr with? code is:
      {%- unless search_btn_style -%}
      {%- assign search_btn_style = 'btn' -%}
      {%- endunless -%}
      {{ 'general.search.submit' | t }}


      icon-search
      {{ 'general.search.submit' | t }}

    • @OnHOWGuy
      @OnHOWGuy  3 หลายเดือนก่อน

      Thanks, i apologise at first as im unable to help you with that because i dont have access to paid theme's code so i dont how the structure works over there.
      Let me know if i can help you with anything else.
      Cheers

    • @Mr.Mwamoto
      @Mr.Mwamoto 3 หลายเดือนก่อน

      @@OnHOWGuy Okay. Thank you. :)

  • @AnimalMoments-bs6qs
    @AnimalMoments-bs6qs 3 หลายเดือนก่อน

    Hey OnHow, I'm trying to find a specific drop shipping store one of my competitors is running but I don't know what I could type into the search bar to do so. All I really have is that I know he made the website through shopify and I know how much revenue he made today. Could you help me out?

    • @OnHOWGuy
      @OnHOWGuy  3 หลายเดือนก่อน

      Thats a needle in a haystack, if you know his niche then you can try my trick on how to find shopify competitors using different keywords for products in that niche but even with this its difficult.
      Cheers

  • @bluesapphire4780
    @bluesapphire4780 3 หลายเดือนก่อน

    assalmu alikum thank you anas

    • @OnHOWGuy
      @OnHOWGuy  3 หลายเดือนก่อน

      Alaykom Salam brother and you're very welcome

  • @slipseahq
    @slipseahq หลายเดือนก่อน

    Make a video for updated trade theme "visible search bar"/ "Expanded Search Bar"

  • @felipebascunantips
    @felipebascunantips 3 หลายเดือนก่อน

    it appears to cretae some conflict with other codes im am runnig ( custom liquid banners)

    • @OnHOWGuy
      @OnHOWGuy  3 หลายเดือนก่อน

      Its hard to tell without looking the code you have, does it have to do with header as well ?
      Please let me know in a new comment as its difficult for me to see replies now.
      Cheers

  • @tinhluk
    @tinhluk 3 หลายเดือนก่อน

    How can I reduce the search size box? After I copied and pasted your code it is too big in my header menu.

    • @OnHOWGuy
      @OnHOWGuy  3 หลายเดือนก่อน +1

      Hey, you can do that in the file component-search.css and the first line will be ".search__input.field__input" and decrease or increase the value 9.8rem; for your preferred design.
      Cheers

    • @tinhluk
      @tinhluk 3 หลายเดือนก่อน

      @@OnHOWGuy Thank you my friend. I appreciated your offer. 😍

  • @AkshayDesai-x7i
    @AkshayDesai-x7i 3 วันที่ผ่านมา

    Link not working anymore

  • @ecomempire-n2g
    @ecomempire-n2g 3 หลายเดือนก่อน

    bro one video for circle collection

    • @OnHOWGuy
      @OnHOWGuy  3 หลายเดือนก่อน

      I got you, i noted it and i will work on it.
      just keep in mind a lot of videos have already been made and uploaded so it might take some time
      Cheers

  • @SameerZulfiqar-f5i
    @SameerZulfiqar-f5i 3 หลายเดือนก่อน

    I cannot find the render 'header code

    • @OnHOWGuy
      @OnHOWGuy  3 หลายเดือนก่อน

      Are you sure this still the case ? because if you cannot find that it means the theme you using doesn't have a search function and i dont know any theme that doesn't have that.
      Just make sure you are on the correct file and searching for the correct code.
      Please let me know in a new comment as its difficult for me to see replies now.
      Cheers

    • @SameerZulfiqar-f5i
      @SameerZulfiqar-f5i 3 หลายเดือนก่อน

      @@OnHOWGuy thanks, Can you please make a video on minifing HTML code because it is giving an error when I put the HTML code in a HTML minifier.

  • @hamzarana801
    @hamzarana801 2 หลายเดือนก่อน

    brother your code links are not working

    • @OnHOWGuy
      @OnHOWGuy  2 หลายเดือนก่อน

      I just checked and its working fine, try with vpn.
      Cheers

  • @cocoabrowneyes
    @cocoabrowneyes 3 หลายเดือนก่อน

    I added the search bar, but my icon is still showing also. How do I hide it?

    • @OnHOWGuy
      @OnHOWGuy  3 หลายเดือนก่อน +1

      Thats strange, what theme/version are you using ?
      did you copy the full code ? because my code has a line to disable the original search icon from displaying on the header.
      Please let me know in a new comment as its difficult for me to see replies now.
      Cheers

    • @hzq16
      @hzq16 3 หลายเดือนก่อน

      ​@@OnHOWGuyit will work perfectly if the desktop logo position is set to middle left instead of middle center in the theme editor.

    • @riz1659
      @riz1659 2 หลายเดือนก่อน

      @@OnHOWGuy How about I would like to show the icon with the bar ? you said you had disable the original search icon however i want it to be visible.

  • @nikibeam.
    @nikibeam. 2 หลายเดือนก่อน

    the old one is still there. its not going😭

  • @RANBROSLLC
    @RANBROSLLC 2 หลายเดือนก่อน

    i didnt saved my original code and it broke down

    • @RANBROSLLC
      @RANBROSLLC 2 หลายเดือนก่อน

      please help now the website is not opening up

    • @OnHOWGuy
      @OnHOWGuy  2 หลายเดือนก่อน

      Hey, on the code editor below the file name you'll see "Recent changes" and below it "current" with a down arrow, just click on it and you'll see the history for previous versions of the file for all the changes.
      If somehow that didn't work you can add another theme (same one) to your library below your main theme and access the code editor for it and then simply copy the code from that file (same file name) and paste it on your main theme file (same file name).
      Cheers

  • @Chicken_here_Gen_Z
    @Chicken_here_Gen_Z 3 หลายเดือนก่อน

    Actually if you doing this in your main store, first create a duplicate guys

    • @OnHOWGuy
      @OnHOWGuy  3 หลายเดือนก่อน

      Undoing the steps is easy for this video incase you dont want it anymore, And if it did break something for you it would be beneficial sharing the data as that can help me updating/fixing the code.
      Cheers

    • @Chicken_here_Gen_Z
      @Chicken_here_Gen_Z 3 หลายเดือนก่อน

      @@OnHOWGuy OK bro thanks for the replr bro hats off you broo😀

  • @TitansOfAvalon301
    @TitansOfAvalon301 3 หลายเดือนก่อน

    I need help, i cant find {% render 'header-search', input_id: 'Search-In-Modal' %} in my header.liquad only other search stuff.. but i dunno how that work pls help

    • @OnHOWGuy
      @OnHOWGuy  3 หลายเดือนก่อน

      try just ( render 'header-search' ) or ( render 'search' ) instead, Also what theme are you using ?
      render 'header-search'
      Please let me know in a new comment as its difficult for me to see replies now.
      Cheers

    • @TitansOfAvalon301
      @TitansOfAvalon301 3 หลายเดือนก่อน

      @@OnHOWGuy
      Hello,
      im using a premium theme, i;; try search these liquads