Jump to content

How to resize home page navigation buttons for Mobile Phone view (Prestashop 1.7.5.)[SOLVED]


Recommended Posts

Hiya, can someone please help me! I want to resize/configure my "featured", "new items" & "best sellers" buttons on my mobile phone home screen (highlighted in screenshot attached) so that they are placed horizontally next to each other on one line, rather than vertically on top of one another as they are now. My website URL is https://www.gr8-kitchenware.co.uk

The theme I am using is PRSADD040

Thank you so much!

image.thumb.png.1e95ee458dfa40a24491b25e72f1f0fa.png

Edited by Layton (see edit history)
Link to comment
Share on other sites

  • Layton changed the title to How to resize home page navigation buttons for Mobile Phone view (Prestashop 1.7.5.)

Hi and welcome to the forum

To change that you need to make some CSS changes. First on line 13367 change/add two lines so it looks like

    #home-page-tabs{
        padding-bottom: 10px;
        margin: 20px auto 10px;
        width: 100%;
        display: flex;
    }

and also line 13939 change to

 .tabs .nav-tabs .nav-link {
	padding: 6px;
	font-size: 16px;
}
    

 

Save file, clear PrestaShop cache and it should make them horizontal.

 

screenshot-nimbus-capture-2021.10.16-10_32_35.png

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

  • Layton changed the title to How to resize home page navigation buttons for Mobile Phone view (Prestashop 1.7.5.)[SOLVED]

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...