Home › Forums › Support › Spacing, Twitter and Block quotes › Reply To: Spacing, Twitter and Block quotes
December 3, 2015 at 11:50 pm
#157896
Lead Developer
Lead Developer
Hi Kerry,
1. It should be an option – I’ve written it down to add to the Spacing add-on.
For now, you can do this:
.footer-widgets .widget-title {
margin-bottom: 40px;
}
Adding CSS: https://generatepress.com/knowledgebase/adding-css/
2. Absolutely!
blockquote {
border-color: #222222;
}
3. Had to look it up, but something like this looks promising:
<script>
jQuery(document).ready(function($){
// Tweet blockquote
$('blockquote.tweet,div.tweet-quote').each(function(){
var quote = $(this);
quote.prepend( '<i class="fa fa-twitter" />' ).append( '<a href="https://twitter.com/share" class="twitter-share-button" data-text="' + quote.text() + '" data-lang="en">Tweet</a>' );
});
});
</script>
Paste that into the wp_footer hook in GP Hooks.
Then add the tweet class to your blockquotes: <blockquote class="tweet">Quote</blockquote>
Hopefully this helps! Glad you’re enjoying the theme 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development