Forum Replies Created
-
AuthorPosts
-
Orlando MergalParticipant
Originally I placed it in the Custom CSS window, but since I couldn’t get it to work I removed it. Tight now it isn’t anywhere. I just gave up.
Orlando MergalParticipant<?php
/**
* Child Theme functions and definitions
*
*//**
* Loading Parent theme stylesheet
*
*/
add_action( ‘wp_enqueue_scripts’, ‘catchresponsive_child_enqueue_styles’ );
function catchresponsive_child_enqueue_styles() {
wp_enqueue_style( ‘catchresponsive-parent-style’, get_template_directory_uri() . ‘/style.css’ );
}/**
* Function to move breadcrumb in child theme below slider
*/
function catchresponsive_child_move_breadcrumb() {
remove_action( 'catchresponsive_after_header', 'catchresponsive_add_breadcrumb', 50 );
add_action( 'catchresponsive_before_content', 'catchresponsive_add_breadcrumb', 15 );}
add_action( 'init', 'catchresponsive_child_move_breadcrumb' );Orlando MergalParticipantThat’s because it’s breaking my site.
When I upload the child theme and activate it I get a white screen of death.
Then, when I remove the child theme via FTP I’m left with a broken site, forcing me to replace the original theme with a fresh copy.
I guess I’m a little over my head in this one. I’ll live without the breadcrumbs.
Orlando MergalParticipantI tried again and it still didn’t work.
You know what/ Let’s forget the whole thing.
Orlando MergalParticipantActually, erase that. I do have breadcrumbs but they are still above the Featured Slider
Orlando MergalParticipantI did as you suggested but now I don’t have breadcrumbs anywhere.
Take a look: http://www.accuratecommunications.com
Orlando MergalParticipantYou forgot to add the link for the tutorial.
Orlando MergalParticipantI did what you suggested and it’s not working. Take a look for yourself:
Orlando MergalParticipantSorry, please notify me
Orlando MergalParticipantIt didn’t work.
I’ve also thought that if I eliminate the Featured Slider there will be nothing to tell visitors where they are. So, would it be possible to add my logo (in the logo section) but only have it appear on smartphones?
Orlando MergalParticipantThe culprit was an apparent conflict between a Chrome extension called StyleBot and another CSS extension that I installed. There was some CSS code stuck in StyleBot that was altering the way that I was seeing my site.
Once I removed the second extension the CSS code became visible in StyleBot and I removed it.
Now my pages site looks normal.
Thanks
Orlando MergalParticipantActually, it seems to be more of a “Chrome” thing. Last night, when I went to bed, I visited the site from my iPad and everything seemed fine.
This morning, I visited from Firefox on my Mac and it also looks fine. However, the problem does prevail in Chrome.
I’ll look further into it.
Orlando MergalParticipantBy the way, I set it to False.
Orlando MergalParticipantI did what you suggested and now the slides appear in order.
I checked on GTMETRIX and my performance score stayed the same. In fact, my page load time went down a bit.
I’m not sure why but now I’m happy.
Orlando MergalParticipantYour idea led me to the problem.
I replaced the theme with twenty sixteen and the problem wouldn’t go away. Then I started turning plugins on and off one by one until I found that “No Right Click Images Plugin” was the problem.
It has a setting that says: “Stop saving on Smart Phones”. If you turn that on your linked images won’t work.
For now I just turned that setting off but I’m going to find a better plugin for that function.
Thanks
Orlando MergalParticipantThank you Sakin!!!
It worked like a charm!
By the way, now that you mention custom CSS.
I’ve looked everywhere within Catch Responsive Pro for a place to add header and footer scripts. Is it just that it doesn’t have one?
I was forced to add a plugin called “Header and Footer Scripts”just to be able to add my Google Analytics code (header) and my PIWIK code (footer).
Most premium themes have this provision.
-
AuthorPosts