1. PROMO Upgrade to Pro Membership @ $99 / Lifetime & access all our 16+ premium Divi extensions: Divi Block, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

grid format on search results pages

Discussion in 'Free Divi Community Forum' started by Alan Snowden, Jun 3, 2019.

  1. Alan Snowden

    Alan Snowden New Member

    Hi Guys,
    thanks in advance for any help!

    When you do a search on my clients website www.rayhanas.com, via the Search area in the main menu area (top right), you get results in standard format see https://rayhanas.com/?s=skipping+rope

    What the client wants is results in grid format ie
    https://www.rayhanas.com/?s=skipping+rope&post_type=product

    I have no idea how he came across this page format, and neither does he, but that is the format he wants on his search results pages.

    Please note that, on the current search results pages, not only are items listed one after the other, rather than in a grid format, but icons are missing from the secondary menu also! This does not happen in the desired format and the desired format also has a 'Relevance' drop down menu which the current format lacks.

    This is the code in the current menu item which produces the Search area:

    <form role="search" method="get" id="searchform" class="searchform" action="https://rayhanas.com">
    <div class="box">
    <div class="container-1"><input type="text" value="" name="s" id="s" placeholder="Search..." />
    <input type="hidden" value="product" /> <button type="submit" id="searchsubmit" />

    <span class="sicon"><i class="fa fa-search"></i></span></button></div></div></form>

    Can anyone tell me how to code it to show a Search area which will produce the desired format please?

    https://www.rayhanas.com/?s=skipping+rope&post_type=product
     
    1. PRO MEMBER PERKS Divi Ultimate Archive Plugin - Replace the default archive "Older Entries" with beautiful pagination:Learn More
  2. Alan Snowden

    Alan Snowden New Member



    I actually figured out how to alter the form code to get the grid on search results pages :)

    However, I still have the problem of the missing icons in the secondary menu area AND the social media icons are missing in the footer on search results pages only.

    Any suggestions how to fix this would be much appreciated.
     
  3. Divi.Help

    Divi.Help Administrator
    Staff Member

    Check your WP Admin > Settings > General > WordPress Address (URL) & Site Address (URL) to see whether both has www.
     
    1. PRO MEMBER PERKS Divi Ultimate Header Plugin - Add custom vertical navigation for your Divi site. Turns into slide in menu on mobile:Learn More