Jump to content


Photo
- - - - -

Creating block level buttons

buttons

Best Answer James B , 19 July 2013 - 10:06 PM

Hi Sourena

 

The btn block class does go into the framework, but the styling is out. Add the following css

 

.btn-block {width:100%;}

 

That gave me this result, full width of the content pad - http://screencast.com/t/xjyViqaPBr

Go to the full post


  • Please log in to reply
5 replies to this topic

#1 Sourena

Sourena

    Advocate

  • Members

  • 563 posts
  • LocationWilliamstown, MA
  • Framework Version:2.4.1
  • Country: Country Flag

Posted 19 July 2013 - 06:55 PM

I am trying to create block level buttons—those that span the full width of a parent— by adding Twittter's Bootstrap .btn-block. But it seems Pagelines does not support that. Can I create block level buttons using styles PageLines already uses?



#2 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 19 July 2013 - 09:05 PM

Sourena,

 

Please check out

Please Login or Register to see this Hidden Content



#3 Sourena

Sourena

    Advocate

  • Members

  • 563 posts
  • LocationWilliamstown, MA
  • Framework Version:2.4.1
  • Country: Country Flag

Posted 19 July 2013 - 09:38 PM

Thanks. I have seen that. There is no shortcode for block level buttons there.

 

Please see this link:

Please Login or Register to see this Hidden Content



#4 James B

James B

    Advocate

  • Moderators
  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 19 July 2013 - 10:06 PM   Best Answer

Hi Sourena

 

The btn block class does go into the framework, but the styling is out. Add the following css

 

.btn-block {width:100%;}

 

That gave me this result, full width of the content pad -

Please Login or Register to see this Hidden Content



#5 Sourena

Sourena

    Advocate

  • Members

  • 563 posts
  • LocationWilliamstown, MA
  • Framework Version:2.4.1
  • Country: Country Flag

Posted 19 July 2013 - 10:23 PM

Thanks.



#6 James B

James B

    Advocate

  • Moderators
  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 19 July 2013 - 11:00 PM

You're welcome







Also tagged with one or more of these keywords: buttons