Forum

Thread tagged as: Question, Problem

Blog Post Issue - Using Boostrap 3

I am having a little trouble with my blog posr. The initial html I have is


<div class="blogs"> <div class="container-fluid"> <div class="row"> <div class="col-xs-12 col-sm-12 col-md-8 col-md-offset-2"> <h3>Blog Title</h3> <h4><strong>05 August 2015</strong> by Robert Broley</h4> <p>Blog Text</p> </div> <div class="col-xs-12 col-sm-12 col-md-8 col-md-offset-2 text-center"> <a class="btn btn-blog" href="#" rel="bookmark">Continue Reading</a> </div> </div> </div> </div>

And on my Perch Blog index.php file I have replaced it with:


<div class="blogs"> <div class="container-fluid"> <div class="row"> <div class="col-xs-12 col-sm-12 col-md-8 col-md-offset-2 "> <?php perch_blog_recent_posts(100); ?> </div> <div class="col-xs-12 col-sm-12 col-md-8 col-md-offset-2 text-center"> <a class="btn btn-blog" href="#" rel="bookmark">Continue Reading</a> </div> </div> </div> </div>

Everything looks great however the button has

<div class="col-xs-12 col-sm-12 col-md-8 col-md-offset-2 ">

~~~

<ul class="hfeed listing"> <div class="hentry"> <h3 blog="" javascript-jquery-interactive-front-end-web-development-review"="" rel="bookmark" class="entry-title">JavaScript & JQuery: Interactive Front-end Web Development Review</h3>

    <strong></strong><p class="entry-published date"><strong>30 June 2015</strong> 
        by Robert Broley</p>
    <div class="description entry-summary">
    <p>Recently I decided to look into JavaScript and JQuery as any web developer will tell you. You can do an awful lot with JavaScript and its library JQuery. I decided to try: <a href="https://www.amazon.co.uk/JavaScript-JQuery-Interactive-Front-end-Development/dp/1118531647">JavaScript &amp; JQuery: Interactive Front-end Web Development by Jon Duckett</a></p>
    </div>



                      <div class="row">
                        <strong><div class="col-xs-10 col-md-8"></strong> I can see where that is located
                    <a class="btn btn-blog" href="/blog/javascript-jquery-interactive-front-end-web-development-review" rel="bookmark">Read Article</a>
                    </div>
              </div>
                  </div>

    ~~~
Rob Broley

Rob Broley 0 points

  • 6 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

I don't understand the question, do you want to know how to add markup to a button?