• 0
Sign in to follow this  
Followers 0

Remove Post Excerpt from Mobile View Only

Question

Posted · Report post

In the Postpins theme, I would like to remove the post-excerpt in mobile view only. I imagine the coding is similar to what I have below, but I don't what differentiates mobile view from desktop view.

 

.postpin .pin-bottom .pin-excerpt {
display: none;
}

Share this post


Link to post
Share on other sites

5 answers to this question

  • 0

Posted · Report post

Try this instead:

 

/* Hides pins excerpt text on mobile devices */
@media (max-width: 480px) {
  .pin-excerpt.summary {
    display: none;
  }
}

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi,

 

Try the following:

 

/* Hides pins excerpt & author info on mobile devices */
@media (max-width: 480px) {
  .postpin-pad, .pin-bottom {
    display: none;
  }
}
1 person likes this

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Thanks Danny, but I think I gave you a poor explanation of what I was looking for. I was hoping to remove the text-excerpt but leave the post title. I assume I use .pin-excerpt .summary, but I'm probably wrong.   

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Thanks. That did it. Appreciate the help. 

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

No problem.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0