Change the style and colour of blockquote

Posted in: Newspaper
Post count: 25

Hi I am using Newspaper 6.1 wordpress theme. I want that the blockquote should show double quotes mark and I want to change font style and size and colour of blockquote. It should look something like this with double quotes: http://prntscr.com/7muny8 not like the one in Newspaper 6.1 theme. Can you please help me out sir? Thanks in advance

Post count: 7909

Hi,

You can use pull quotes from Formats – http://screencast.com/t/prNlLXy28u and you can change the font style and size from Theme Fonts – http://screencast.com/t/ohhSj8hWTimd also the text will take theme accent color – http://screencast.com/t/KMo00zjO
If you want to change that color you can use custom css in Theme Panel > Custom Css – http://screencast.com/t/pIdgFFkR

.td-post-content blockquote p {
color: #b7b7b7;
}

Thanks!

Post count: 25

Thanks Sir. Your suggestion helped me. But sir if I want to change the style and size of the double quotes in blockquote then how can we do it?

Post count: 7909

Hi,

The double quotes are added there like an image if you want to change them you will have to use custom css in Theme Panel > Custom Css and replace the image – http://screencast.com/t/ZlxvPxQVK

.td-post-content .td_pull_quote p:before{
background:url("http://www.mythoughtsmywords.org/images/double-quotes.png") no-repeat scroll 0 0 !important;
background-size: 20px 20px !important;
}
.td-post-content .td_pull_quote p:after {
background:url("http://image.shutterstock.com/display_pic_with_logo/577306/235529839/stock-vector-quotation-mark-symbol-double-quotes-at-the-end-of-words-quote-sign-icon-isolated-on-white-235529839.jpg") no-repeat scroll 0 0 !important;
background-size: 20px 20px !important;
}

Thanks!

Post count: 25

Thanks Sir for the help. If I am not using pull quote format for blockquote, if I am using simple default blockquote; then how can I add double quotes at the start of blockquote. Also how can I can customize the style, size and colour of the double quotes added to a simple default blockquote (I am not using pull quote or box quote format)

Post count: 7909

Hi,

Like I said theme has mor options to use quotes from Formats, you will need custom work to achieve that on default blockquote or add them manually. You can try a custom css like is used on pullquotes and add you double quote image: http://screencast.com/t/WTkGKDWk

.td-post-content blockquote p:before{
position: absolute;
background:url("http://www.mythoughtsmywords.org/images/double-quotes.png") no-repeat scroll 0 0 !important;
background-size: 20px 20px !important;
left: 0;
display: block;
content: '';
width: 20px;
height: 20px;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
}
.td-post-content blockquote p:after {
position: absolute;
bottom: 10px;
right: 0;
display: block;
content: '';
width: 20px;
height: 20px;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
background:url("http://www.mythoughtsmywords.org/images/double-quotes.png") no-repeat scroll 0 0 !important;
background-size: 20px 20px !important;
}

You may need to adjust the custom css code, if you don’t know how to do it I suggest to get someone to help you as we cannot provide custom work at this time. Also if you use the above css for default blockquote, please not that all other quotes format will be affected – http://screencast.com/t/zRQZnfYNyfn

Thanks!

Post count: 25

Thanks Sir. Sir as you told before I made these changes in my Custom CSS for blockquote colour: .td-post-content blockquote p {
color: #808080;
}

And also to add custom double quote for pull-quotes I made these changes in Custom CSS panel: .td-post-content .td_pull_quote p:before{
background:url("http://www.kickscoop.com/wp-content/uploads/2015/07/before.gif") no-repeat scroll 0 0 !important;
background-size: 40px 40px !important;
}
.td-post-content .td_pull_quote p:after {
background:url("http://www.kickscoop.com/wp-content/uploads/2015/07/after.gif") no-repeat scroll 0 0 !important;
background-size: 40px 40px !important;
}

.bbpress .td_pull_quote p:first-child:before, .comment-content .td_pull_quote p:first-child:before, .mce-content-body .td_pull_quote p:first-child:before, .td-page-content .td_pull_quote p:first-child:before, .td-post-content .td_pull_quote p:first-child:before, .td_block_text_with_title .td_pull_quote p:first-child:before, .woocommerce #tab-description .td_pull_quote p:first-child:before, .wpb_text_column .td_pull_quote p:first-child:before {
width: 50px;
height: 50px;
}

.bbpress .td_pull_quote p:after, .comment-content .td_pull_quote p:after, .mce-content-body .td_pull_quote p:after, .td-page-content .td_pull_quote p:after, .td-post-content .td_pull_quote p:after, .td_block_text_with_title .td_pull_quote p:after, .woocommerce #tab-description .td_pull_quote p:after, .wpb_text_column .td_pull_quote p:after {
width: 50px;
height: 50px;
}

NOW the problem is when I am writing any post or any page using Visual Composer these changes are not showing in my page or post. Rather I am getting same default theme accent colour for my blockquote while writing using Visual Composer. Also I cant see custom double quotes for pull-quotes while writing using Visual Composer. Also: I am unable to see any breadcrumb in the page which is edited or written using Visual Composer. Whereas I can see breadcrumbs in those posts written using default WordPress editor. PLease check this page: http://www.kickscoop.com/about/ to see the above problems in the page

Post count: 7909

Hi,

You need to customize this also for page like you did on posts, also if you want to make this change for all template you can try to add your double quotes directly in style.csshttp://screencast.com/t/Wx9q6ADqROY Also you have Formats in a text block added with Visual Composer – http://screencast.com/t/o8KQBtfFxaw
Also the breadcrumbs are displayed on default page template only when pagebuider is not used – http://screencast.com/t/ykINOucHy4s or you can try to use pagebuilder with title – it should work also with pagebuilder content – http://screencast.com/t/Cgr95d2auNhhttp://screencast.com/t/KdUtRwr6

Thanks!

Post count: 25

Alin Sir, I couldn’t understand breadcrumb part. How can I show breadcrumb while using backend editor of Visual Composer in pages. Can you please explain that part?

Post count: 7909

Hi,

The default page template was not designed to show excerpts or title when pagebuilder is used. You ca use pagebuider with title on pages where you want breadcrumbs or make this change in page.php (add breadcrumbs also when Visual Composer is used) – http://screencast.com/t/7RLhGIMT3xO

Thanks!

Viewing 10 posts - 1 through 10 (of 10 total)
You must be logged in to reply to this topic.