Jump to content


Photo
- - - - -

Bootstrap classes

bootstrap center align

Best Answer Danny , 11 April 2014 - 12:25 PM

Hi,

 

What you're looking at there is version 3 of Bootstrap, both PageLines Framework and DMS use a heavily customized version of Bootstrap 2. So some of the things you see on the Bootstrap 3 docs won't be available in DMS unfortunately.

 

You can see all available utility classes here - http://docs.pageline...l-css-utilities

 

If you want to use those classes from Bootstrap 3, you can simply copy the CSS and add to your custom CSS:

 

.text-left {
text-align: left;
}
.text-right {
text-align: right;
}
.text-justify {
text-align: justify;
}
Go to the full post


  • Please log in to reply
3 replies to this topic

#1 umar14

umar14

    Advanced Member

  • Members

  • 81 posts
  • Framework Version:DMS2
  • Country: Country Flag

Posted 11 April 2014 - 12:00 PM

I want to align the text to center and used class 

 

 

<p class="text-left">Left aligned text.</p>
<p class="text-center">Center aligned text.</p>
<p class="text-right">Right aligned text.</p>
<p class="text-justify">Justified text.</p>

from here

 

http://getbootstrap....e-abbreviations

 

 

but this does not work and class="center" works which version of botstrap should I use then?



#2 Danny

Danny

    Is Awesome!

  • Moderators
  • 16505 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 11 April 2014 - 12:25 PM   Best Answer

Hi,

 

What you're looking at there is version 3 of Bootstrap, both PageLines Framework and DMS use a heavily customized version of Bootstrap 2. So some of the things you see on the Bootstrap 3 docs won't be available in DMS unfortunately.

 

You can see all available utility classes here - http://docs.pageline...l-css-utilities

 

If you want to use those classes from Bootstrap 3, you can simply copy the CSS and add to your custom CSS:

 

.text-left {
text-align: left;
}
.text-right {
text-align: right;
}
.text-justify {
text-align: justify;
}


#3 umar14

umar14

    Advanced Member

  • Members

  • 81 posts
  • Framework Version:DMS2
  • Country: Country Flag

Posted 22 April 2014 - 12:19 PM

OK Thanks



#4 Danny

Danny

    Is Awesome!

  • Moderators
  • 16505 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 22 April 2014 - 01:49 PM

No problem.







Also tagged with one or more of these keywords: bootstrap, center align