b2squared
Forum Replies Created
-
Hey there… sort’ve. I only spent about 30 mins on it thus far [got busy]. And the problem I am running into is that the widget itself is dynamic, so choosing a div id to call the ajax load function to input the correct template doesn’t really work as intended given the yarpp parent div isn’t already on the page when the function is called. therefore, i’m probably going to have to write with the js in the function file & use more backend code than i would prefer. I may go tinker that route, or see if I can get the same effect I want manipulating the css entirely in the media queries since I don’t want to spend too much time on it. Thanks for checking back though!
Thanks.. I already know that as my site is built on Bootstrap, so it is responsive. The custom template I have now has thumbnails wrapped in a div for each post. This template does not scale properly on mobile, hence the need to use CSS media queries to note the viewport size, and then load the template for the recent posts that is most advantageous, which to me is a simplified ul. Because this requires different HTML than the thumbnails option, this is why I needed to check the media screen size to know which YARP custom template to display.
Hey, yes it does. Thank you, you’ve given me some ideas to write it myself :). Appreciate you!