• 0
Sign in to follow this  
Followers 0

Section content alignment


Question

Posted · Report post

I've just started trying out DMS and am working on a simple base theme to start with. What's the best way to change the centered justification which seems to be the norm for section content? For example, when i add a Call Out section it is centered by default and when I add Post Pins, they are also in the center. I won't want this for the majority of sections and websites, its more likely to be left justified so it would be good to know the best place to change this.

Thanks in advance.

Share this post


Link to post
Share on other sites

5 answers to this question

  • 0

Posted · Report post

You would need to adjust your pl-content margin

 

From margin: 0 auto;

 

To margin: 0;

 

Try that.

 

However, additional styling may be required.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

HI,

 

Not entirely sure what you mean, are you saying that you want your sections aligned to the left ?

 

For example - http://d.pr/i/wee3

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Yes, when the website is loading the postpins are left justfied and then as loading completes they jump to the centre. The default design for DMS seems to be centered, good for mobiles I guess, but I want the default to be left justified. Is there somewhere in the Less that this is set at a global level?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Thanks Danny, I was going round in circles and you pointed me in the right direction.

What you suggested worked but threw out the footer too but this has worked just for the postpins...

.postpin-list {
margin: 0;
}

Thanks again :)

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

No problem.

Share this post


Link to post
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
Sign in to follow this  
Followers 0