-
AuthorPosts
-
April 20, 2017 at 7:23 pm #780710
Hi,
First – just wanted to say thank you to all involved for creating such an amazing theme. I’m just struggling with something. At the moment, I’ve got the sidebar enabled when you view a blog post, and in the sidebar there is a section entitled ‘Recent Posts’. Ideally, I would change the heading to ‘Latest News’ instead of ‘Recent Posts’. Also, is there any way to filter those posts by category so that you see recent posts that are also related to the one you’re reading?
Thanks, JP
April 20, 2017 at 7:34 pm #780721Can you send a link to your site, I could be wrong but i believe you can change the title on the Widgets page.
Appearance > Widgets…..find where you have the info being pulled from. I think it’s being pulled from the “Sidebar Blog” widget, but again just guessing since i’m not looking at your site :)
I’m not sure about the specific category, i know you can limit what’s shown when using the blog post element in the avia builder.
April 21, 2017 at 2:14 pm #781205April 21, 2017 at 5:21 pm #781315@drebosio and @Yigit – thank you very much for incredible support. I have managed to change ‘Recent Posts’ to ‘Latest News’ in the widgets section. Not sure about ordering by category as doesn’t seem to be possible via the widgets. I’ve encountered another problem though that I’m having difficulty solving. I’ve got a section on the site where I’ve used an iframe, which I wanted to hide when accessing via mobile as it doesn’t look very good. I followed advice from a previous thread that i’d seen from @yigit and created a custom css class (only_desktop) and added the following to quick css:
@media only screen and (max-width: 480px) {
.only_desktop { display: none !important; }}
Can you help?April 22, 2017 at 12:03 am #781487In regards to the category, are you wanting to display certain categories on a specific page? If so i was able to achieve this using this plugin – https://wordpress.org/plugins/list-category-posts/ and modifying it with some CSS to what i needed :)
Hope that helps, as for the iframe, this may work, but untested since i can’t see your site (assuming you put the link in the private section, cant see that)
@media screen and (min-width: 320px) { iframe { display:none; }}
You should set min-width to value of width of devices/mobiles you want to hide iframe in.
Note that you can have multiple media queries for different screen sizes.
source – http://stackoverflow.com/questions/9357255/how-to-hide-youtube-iframe-using-css
April 24, 2017 at 9:46 pm #782544Superb – can’t thank you enough. That’s perfect.
April 24, 2017 at 10:09 pm #782553 -
AuthorPosts
- The topic ‘Change 'Recent Posts' in Blog Sidebar’ is closed to new replies.