Jump to content


Photo
- - - - -

Remove Post Excerpt from Mobile View Only


Best Answer Danny , 15 June 2014 - 11:14 AM

Try this instead:

 

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


  • Please log in to reply
5 replies to this topic

#1 historybanter

historybanter

    Newbie

  • Members
  • 9 posts
  • Framework Version:pagelines pro
  • Country: Country Flag

Posted 11 June 2014 - 03:32 PM

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;
}


#2 Danny

Danny

    Is Awesome!

  • Moderators
  • 17618 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 12 June 2014 - 10:26 AM

Hi,

 

Try the following:

 

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

  • batman likes this

#3 historybanter

historybanter

    Newbie

  • Members
  • 9 posts
  • Framework Version:pagelines pro
  • Country: Country Flag

Posted 13 June 2014 - 06:15 PM

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.   



#4 Danny

Danny

    Is Awesome!

  • Moderators
  • 17618 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 15 June 2014 - 11:14 AM   Best Answer

Try this instead:

 

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


#5 historybanter

historybanter

    Newbie

  • Members
  • 9 posts
  • Framework Version:pagelines pro
  • Country: Country Flag

Posted 16 June 2014 - 12:03 AM

Thanks. That did it. Appreciate the help. 



#6 Danny

Danny

    Is Awesome!

  • Moderators
  • 17618 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 16 June 2014 - 09:08 AM

No problem.