Responsive Theme Problem on Small Screen

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
User avatar
calvis
Rear Admiral (RADM)
Rear Admiral (RADM)
Posts: 710
Joined: Tue Jan 27, 2004 3:57 pm
Location: Redmond, WA

Responsive Theme Problem on Small Screen

Post by calvis » Mon Mar 23, 2015 10:40 pm

How can I improve the appearance of the fly out category on the responsive theme using the CategoryMenu Control when in small screen mode?
responsive_AC.jpg
Able Customer Since 1999 Currently Running on GOLD R12 SR1 and PCI Certified.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Responsive Theme Problem on Small Screen

Post by mazhar » Tue Mar 24, 2015 12:51 am

The easiest option here is to show screen specific UI for categories in sidebar. For example for bigger screens SimpleCategoryList should be hidden while dynamic menu should be visible. For smaller screen hide the dynamic menu and show SimpleCategoryList. This can be achieved by using responsive utility classes provide with bootstrap.

Edit ConLib/SimpleCategoryList.ascx and locate following code

Code: Select all

<div class="widget simpleCategoryListWidget">
and update it like

Code: Select all

<div class="widget simpleCategoryListWidget hidden-md visible-sm visible-xs">
Next edit Conlib/CategoryMenu.ascx and locate following code

Code: Select all

<div class="widget categoryMenu">
and update it like

Code: Select all

<div class="widget categoryMenu visible-md hidden-sm">
Now save these file and refresh the browser window. For tablets and phones it will show SimpleCategoryList while for desktops it will show category menu control.

User avatar
calvis
Rear Admiral (RADM)
Rear Admiral (RADM)
Posts: 710
Joined: Tue Jan 27, 2004 3:57 pm
Location: Redmond, WA

Re: Responsive Theme Problem on Small Screen

Post by calvis » Tue Mar 24, 2015 9:39 pm

Thanks that works perfect.
Able Customer Since 1999 Currently Running on GOLD R12 SR1 and PCI Certified.

Post Reply