Rough Pixels
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Prologe Lite] How do I activate the cover header?..forgot this part…
For the Call to Action tutorial, the link to that one is in the left side column when you are on that tutorial page I just posted. Look for the “Front Page Call-to-Action” menu link there.
Forum: Themes and Templates
In reply to: [Prologe Lite] How do I activate the cover header?Hi Kristofer,
First, thanks for letting me know about the broken link. We’ve recently restructured the Rough Pixels website, so there are a few link changes.
However, I believe this is the one you are looking for?
https://www.roughpixels.com/documentation/prologe-tutorials/front-page-header-image/
Best Regards,
AndreForum: Themes and Templates
In reply to: [Storytime] Mobile MenuHi Tina…something like this might help:
/* Small devices (landscape phones, less than 768px) */ @media (max-width: 767.98px) { .nav-wrapper { display: none; } } /* Medium devices (Phones, tablets, less than 992px)*/ @media (max-width: 991.98px) { .nav-wrapper { display: none; } }Are you wanting to hide the menu for phones, or tablets added to that too? I added a couple CSS code snippets that you can choose from based on their description. Simply copy and paste the code into the Additional CSS tab in the Customizer.
Hope that helps?
Best Regards,
AndreForum: Developing with WordPress
In reply to: Modify theme function with plugin…actually, I did have:
if ( ! function_exists( 'function_name' ) ) :I generally do that with most, if not all of my functions.
As for filters, oddly, I couldn’t get the filters to work. Overall, everything is working right now but will set aside time to figure out how to use less code–as you say, redundant code.Forum: Developing with WordPress
In reply to: Modify theme function with pluginI think I found the solution(s). I can duplicate the theme’s function into the plugin’s function file with the same function name, but insert:
add_action( 'init', 'mytheme_blog_layout', 15 );…this uses priority and it seems to work. I’m assuming this is a safe way of doing it? I also did a remove_filter() method which also worked and then simply reloaded the original function after.
I will have to test this on on my end with a test site.
However, I am currently working on an update for this theme–including the premium version.Best Regards,
AndreThanks for bringing this to my attention. I will fix this and upload it shortly.
Forum: Themes and Templates
In reply to: [Storytime] Unmovable line on left marginGreetings…I was wondering what that was on the side and bottom, but it’s your background image:
https://megkearney.com/wp-content/uploads/2021/02/Asset-7-100.jpg
One “possible” fix might be to add this to the customizer’s Additional CSS tab:
body.custom-background { background-position: -2px 2px; }The other option would be to edit your image to remove that white line, then replace the existing one with the newly edited version.
Forum: Themes and Templates
In reply to: [Empt Lite] Potential Issue with Widgets SavingThat is great news to hear! Thank you for the update!
Cheers,
AndreForum: Themes and Templates
In reply to: [Empt Lite] Potential Issue with Widgets SavingThere’s actually a lot about this kind of issue relating to WordPress. I did a search on Google with this Keyword Set “WordPress widgets not saving” and many results showed up.
Forum: Themes and Templates
In reply to: [Empt Lite] Potential Issue with Widgets SavingHi…sorry for a late reply; my errand took a lot longer. Anyway, let’s tackle this one.
A few things and tests…
1. Is this happening on all widgets or if specific ones, can you list them here?
2. What happens if you switch to a basic WordPress default theme, do the same widgets now work?Best Regards,
AndreThank you for the follow-up. However, I think you might have misunderstood my original request/question…
I’m not referring to the footer or widgets, but in my theme, I have numbered pagination set up for navigating the bog (as in newer posts vs previous posts). The infinite scroll loads below that and the navigation is not nulled (removed).
In the PHP file for my index.php which has the structure of the blog layout, the navigation is there (which uses the
the_posts_pagination();method). Basically, I’m wondering if there is a PHP if/else statement that can be used to create a conditional where the infinite scroll in Jetpack is enabled, the blog navigation won’t load.…I’m not sure why seeing the front-end of the website is relevant when this is in relation to PHP coding for a conditional statement. Again, this has nothing to do with a footer or widgets.
I would post the URL, but I’m working on this locally on my computer via XAMPP.
Basically, I am looking for an “if/else” method to conditionally prevent the blog navigation from loading if Infinite Scroll is enabled. My nav is based on:
the_posts_pagination();
…page numbered.
Forum: Themes and Templates
In reply to: [Salal] slider arrows should always be visible!I’m uploading version 1.2.9 today which now keeps the arrows active. I also made minor size adjustments too!
I think I found the issue without rebuilding the menu 🙂
I’ve been testing it and so far it looks like it’s fixed. I will be uploading the updated version of this theme today. Once you update, try it out and see if it solves the problem you are encountering.The new version will be 1.2.9