Note that there are some explanatory texts on larger screens.

plurals
  1. POswitched out HTML for php- caused minor layout issues, unsure how to fix
    primarykey
    data
    text
    <p><a href="http://www.frshstudio.com" rel="nofollow noreferrer">Live site.</a></p> <p>Ideally, between border-top and border-bottom, I'd like to have 3 portfolio thumbnails, a divider(.png), and 3 blog thumbnails. Below the far right of each section should be '...'(next.png).</p> <p><img src="https://i.stack.imgur.com/ERXOd.png" alt="ideal"></p> <p>Currently, there is a random border directly on top of "Recent Work" that shouldn't be there and the '...' button for 'Recent Blog' is below the border-bottom. What is causing this/how do I remedy?</p> <p>Everything was fine before I switched out the HTML for php..</p> <pre><code>&lt;?php if ($portfolio_query-&gt;have_posts()) : ?&gt; &lt;div id="recent"&gt; &lt;div id="recent-work"&gt; &lt;p&gt;&lt;span&gt;Recent Work&lt;/span&gt;&lt;/p&gt; &lt;?php while ( $portfolio_query-&gt;have_posts() ) : $portfolio_query-&gt;the_post(); ?&gt; &lt;a href="&lt;?php the_permalink(); ?&gt;"&gt;&lt;?php the_post_thumbnail( array(130,130) ); ?&gt;&lt;/a&gt; &lt;?php endwhile; ?&gt; &lt;div class="next"&gt;&lt;a href="http://www.frshstudio.com/blog/"&gt;&lt;img src="&lt;?php echo get_template_directory_uri(); ?&gt;/img/next.png" alt="next" id="next" /&gt;&lt;/a&gt;&lt;/div&gt; &lt;/div&gt;&lt;!-- end recent-work --&gt; &lt;?php endif; ?&gt; &lt;div class="divider"&gt; &lt;img src="&lt;?php echo get_template_directory_uri(); ?&gt;/img/divider.png" alt="Section divider" id="divider" /&gt; &lt;/div&gt;&lt;!-- end divider --&gt; &lt;?php if ($blog_query-&gt;have_posts()) : ?&gt; &lt;div id="recent"&gt; &lt;div id="recent-blog"&gt; &lt;p&gt;&lt;span&gt;Recent Blog&lt;/span&gt;&lt;/p&gt; &lt;?php while ( $blog_query-&gt;have_posts() ) : $blog_query-&gt;the_post(); ?&gt; &lt;a href="&lt;?php the_permalink(); ?&gt;"&gt;&lt;?php the_post_thumbnail( array(130,130) ); ?&gt;&lt;/a&gt; &lt;?php endwhile; ?&gt; &lt;div class="next"&gt;&lt;a href="http://www.frshstudio.com/work/"&gt;&lt;img src="&lt;?php echo get_template_directory_uri(); ?&gt;/img/next.png" alt="next" id="next" /&gt;&lt;/a&gt;&lt;/div&gt; &lt;/div&gt;&lt;!-- end recent-blog --&gt; &lt;?php endif; ?&gt; </code></pre> <p>&amp;</p> <pre><code>#recent { border-top: 1px solid #202020; padding-bottom: 40px; padding-top: 40px; } #recent .divider { display: block; float: left; margin-left: 20px; padding-bottom: 20px; } #recent #recent-work { display: block; float: left; position:relative; } #recent #recent-work p { padding-bottom: 20px; } #recent #recent-work p span { font-family: nevis-webfont; font-size: 112.5%; font-weight: normal; letter-spacing: 1px; text-transform: uppercase; } #recent #recent-work a { padding-bottom: 40px; padding-right: 20px; } #recent #recent-blog { display: block; float: right; position:relative; } #recent #recent-blog p { padding-bottom: 20px; } #recent #recent-blog p span { font-family: nevis-webfont; font-size: 112.5%; font-weight: normal; letter-spacing: 1px; padding-left: 20px; text-transform: uppercase; } #recent #recent-blog a { padding-bottom: 40px; padding-left: 20px; } #recent .next { position: absolute; bottom: -40px; right: 0px; } </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload