Changing width of article list within category

Beantwortet

3 Kommentare

  • jay darado

    Hey Marie O'Brien

    Can you please, share a screenshot or the HC URL where you are getting this issue so that I will go through it and provide you a solution for your problem.

    Regards

    Jay

    0
  • Ifra Saqlain
    Community Moderator

    Hey Marie,

    If you want to show article list with full width on category template so you can increase your section width by CSS code.

    I customized in Copenhagen theme, see below code:

    Default code

    @media (min-width: 768px){
    .section-tree .section{
    flex: 0 0 45%;
    }
    }


    After customization

    @media (min-width: 768px){
    .section-tree .section{
    flex: 0 0 100%; // Increase width 45% to 100%
    }
    }

     

    If you have also these classes so you can pick this code if not then you can import default Copenhagen theme and find this class on category page and style-sheet and compare that classes and CSS code with your own and then you would get idea that what should you do? May be you have different classes for sections on category page, you just need to increase your section div width. 

     

    If any query, let me know :)

     

    Thank You

    Team

    2
  • Marie O'Brien

    Hi Guys,


    Thanks both

     

    Ifra - your answer solved this for me - such a simple change but couldn't track it down in the knowledge base/community! Many thanks - I have tested it and it works,


    Thanks

    Marie

    1

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.

Powered by Zendesk