Jump to content

Need help displaying CMS content of a pirticular page in two columns


supreetmankad

Recommended Posts

Hey,

 

I'm new to Prestashop and i'm currently stuck at this. On my shop's webpage, we have a list of our distributors mentioned for every country we are serving in. My problem here is I want the page to display this list in two columns instead of one long column/list. Can i get a solution to this problem. Please help me out! Much appreciated

 

Here's the link to the page to make my question clear.

 

http://atoponline.com/store/en/content/systems-integrators-38

post-989620-0-08762400-1430118036_thumb.png

Link to comment
Share on other sites

  • 4 weeks later...

Not fully two columns as requested, but a little better:

 

Edit file /themes/<your theme folder>/css/global.css, and add the following code to the end of the file:

 

 

#cms .country-list .sub-head{

    width: 40%;

    display: block;

    float: left;

    border-style: none;

}
 
#cms .country-list p {

    width: 60%;

    display: block;

    float: left;

    margin-bottom: 40px;

}
 
#cms .country-list p + p {

    margin-left: 40%;

}
 
 
Result:
post-455771-0-76594800-1432738479_thumb.png
 
 
 
Hope this helps at least a little,
pascal.
 
Edited by PascalVG
Edited path to file (see edit history)
Link to comment
Share on other sites

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...