Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #104113
    ilix789
    Participant

    I had a header created for my blog https://goo.gl/O60Ndd and i removed the 2 image slider hoping the header would replace the location but after checking the theme preview i see its not.

    I was told i should create a child theme and also to add(catchflames_before_main’, ‘catchflames_featured_overall_image’, 1 ) to the functions.php, so i downloaded the premade child theme from here and added replace the code in filemanager.

    but now the site looks like this https://goo.gl/O60Ndd how to have just one image not in the header section but where the image slider is supposed to go or if i can find a free theme somewhere that is newbie friendly drag and drop preferred, I don’t have much time to learn coding.

    I also need to remove unwanted links on main page, just trying to start a simple service blog nothing fancy any advise on beginnger sites would be highly recommened, that can be learned under an hour.

    #104127
    Mahesh
    Keymaster

    @ilix789: For some reasons, the parent theme’s style.css isn’t loading which is resulting in the design issue. For only one image to be displayed, remove the previously added codes from functions.php and add the following:

    function move_header_below() {
        remove_action( 'catchflames_before', 'catchflames_featured_header', 10 );
        remove_action( 'catchflames_after_header', 'catchflames_featured_overall_image', 10 );
        add_action( 'catchflames_before_main', 'catchflames_featured_overall_image', 10 );
    }
    add_action( 'init', 'move_header_below' );

    Regards,
    Mahesh

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Header replace with slider image and remove primary content links’ is closed to new replies.