Title: Alignment and missing text.
Last modified: August 20, 2016

---

# Alignment and missing text.

 *  [jasecd](https://wordpress.org/support/users/jasecd/)
 * (@jasecd)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/alignment-and-missing-text/)
 * Hi,
 * I am a real novice at this so please excuse my ignorance. My site was built by
   a developer who has since been rather unhelpful meaning I have to make changes
   myself.
 * I want to do two simple things to my site – align all the video content on the
   narrative, music and commercial pages to the left and add a blog page. My site
   is [http://www.jasecd.com](http://www.jasecd.com)
 * I have played with the code in the editor and cannot for the life of me get these
   videos to align left. I would paste the code here but I don’t even know what 
   I should be pasting.
 * Secondly, I have managed to add a blog page and link to the template but I can’t
   get text , video or photos to show. I have tried writing directly in to the page
   and also using the posts function. I directed the posts to the blog page using
   the customiser but I have the same problem using either method.
 * Any advice on these two (very novice) questions would be greatly appreciated –
   they seem like such simple problems but are making me tear my hair out in frustration.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [jack randall](https://wordpress.org/support/users/theotherlebowski/)
 * (@theotherlebowski)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/alignment-and-missing-text/#post-2949771)
 * the videos aligning left is pretty straight forward: go into your theme’s style.
   css file and find the class
 * `.video`
 * and change
 * `margin: 0 auto;`
 * to
 * `margin: 0;`
 * and that should take care of that. i’ll have a think about the other issue!
 *  [jack randall](https://wordpress.org/support/users/theotherlebowski/)
 * (@theotherlebowski)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/alignment-and-missing-text/#post-2949773)
 * you may have created a blank template file. it may have the bits that call the
   header and footer and nav elements but unless it has the loopy bit in it to call
   the content nothing will show.
 *  Thread Starter [jasecd](https://wordpress.org/support/users/jasecd/)
 * (@jasecd)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/alignment-and-missing-text/#post-2949778)
 * Thanks for your help. The main index template contains only the following:
 *     ```
       <?php include "header.php"; ?>
   
       <?php include "footer.php"; ?>
       ```
   
 * The alignment change worked perfectly. Do you know what I would change to align
   them in two columns as on the recent page?
 * Cheers
 *  [jack randall](https://wordpress.org/support/users/theotherlebowski/)
 * (@theotherlebowski)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/alignment-and-missing-text/#post-2949789)
 * you’ll need to add another css class to the videos. create a div to go around**
   each** video individually like this
 *     ```
       <div class ="video multiple">
       video embed code goes in here
       </div>
       ```
   
 * the class of multiple adds a css rule of float:left that should get them lined
   up. off the top of my head though, i’m not sure if they’ll automatically wrap
   around so you’ll have two rows of videos…
 * as for the blog template try adding this between the to calls
 *     ```
       <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
       <?php endwhile; else: ?>
       <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
       <?php endif; ?>
       ```
   
 * it’s called the loop and checks to see if you have anything to post in the category…
   it may work!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Alignment and missing text.’ is closed to new replies.

## Tags

 * [alignment](https://wordpress.org/support/topic-tag/alignment/)
 * [missing text](https://wordpress.org/support/topic-tag/missing-text/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [jack randall](https://wordpress.org/support/users/theotherlebowski/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/alignment-and-missing-text/#post-2949789)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
