Answers.Body: <p>You would typically just pop out a CSS class based on their selection.</p>
  
  <p>So:</p>
  
  <pre><code>&lt;blockquote class="align--{{ block.myAlignment }}"&gt;&lt;/blockquote&gt;
  </code></pre>
  
  <p>Just pop the value out into your markup, and then write the CSS to produce whatever effect you need</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-02T17:03:58.747Z
Answers.LastActivityDate: 2016-04-02T17:03:58.747Z
Answers.UserDisplayName: Patrick Harrington
Body: <p>How does one use position selects to float an element in Craft CMS template? Say I want to allow an author to center or float a quote block to the right or left using a position select. How would I do this in the template?</p>
  
Tags: <position>
Title: How to use Position Select in Matrix blocks?
ThreadText: # How to use Position Select in Matrix blocks?
  
  (Asked by: username_0 on 2016-04-02)
  
  How does one use position selects to float an element in Craft CMS template? Say I want to allow an author to center or float a quote block to the right or left using a position select. How would I do this in the template?
  
  **Tags:** position
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-04-02. Score: 3 | Accepted answer
  
  You would typically just pop out a CSS class based on their selection.
  
  So:
  
  ```
  <blockquote class="align--{{ block.myAlignment }}"></blockquote>
  
  ```
  
  Just pop the value out into your markup, and then write the CSS to produce whatever effect you need
  
  
  ---
  
  