newcoder1010 Posted October 14, 2016 Share Posted October 14, 2016 Hello, I would like to add inline blockquote before and after the paragraph below. #block-views-testimonial-slideshows-block-1 .views-field-body p{ border: none; margin: 0 auto 0; float: left; background: transparent !important; font-style: normal; font-size: 22px; line-height: 1.5; position: relative; } I wrote the below css and it is not writing the double quotes: #block-views-testimonial-slideshows-block-1 .views-field-body p:before { position: absolute; width: 60px; height: 60px; font-size: 120px; line-height: 1; } #block-views-testimonial-slideshows-block-1 .views-field-body p:after { position: absolute; width: 60px; height: 60px; font-size: 120px; line-height: 1; } Can you please help? Link to comment Share on other sites More sharing options...
Ingolme Posted October 15, 2016 Share Posted October 15, 2016 The ::before and ::after pseudo-elements need to have the content property set selector::before { content: ""; } Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now