Jump to content

Archived

This topic is now archived and is closed to further replies.

historybanter

Remove Post Excerpt from Mobile View Only

Recommended Posts

historybanter    0
historybanter

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
Danny    1,327
Danny

Hi,

 

Try the following:

 

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

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
historybanter    0
historybanter

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
Danny    1,327
Danny

Try this instead:

 

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

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
historybanter    0
historybanter

Thanks. That did it. Appreciate the help. 

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

No problem.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

×