How To Make The HomePage Contain Category While using Mobile Phone


as you can see, if you view the website on mobile phone, you will not be able to see a category on the home page(https://theantsforum.allstarunion.com/), I was wondering if there is any way to have the category option show up on mobile phone

If you use PC, it will be no problem, you can see the category is showed up there perfectly

1 Like

Hello,

This is possible with CSS. You have to create a new component.

  1. Go to /admin/customize/themes/
    Customize → Themes

  2. Click the Components tab and then the Install button

  3. On the popup window click Create new button and type the new component name.

  4. Click Create button.

  5. The component created. Now select which theme(s) you want to activate it.
    Screenshot 2022-07-26 at 12.06.13

  6. Now click the Edit CSS/HTML button.
    Screenshot 2022-07-26 at 12.07.53

  7. Now click the Mobile tab and paste the below code to the CSS section.

.category-breadcrumb.hidden {
  display: flex !important;
}
  1. Click Save. Done! :slightly_smiling_face:

Screenshot 2022-07-26 at 12.13.42

5 Likes

Why are you so genius :grinning: thanks so much. Issue Fixed

1 Like

This is set out extremely well and works perfectly. Thank you very much.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.