Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #110242
    omradiocom
    Participant

    Looking at the inspect vs the raw theme code, the “header-featured-image” is below the “feature-slider”

    You guys have a massive amount of code there so I don’t want to mess it up. I’m looking at flipping it.
    I noticed the inc folder contained “fullframe-featured-slider.php” and “fullframe-featured-header.php” with the corresponding code but the functions are written directly in so I don’t want to break any functions for the client.

    Great work all the same

    #110288
    Mahesh
    Participant

    @omradiocom: You mean to place header-featured-image before Slider? If so, you’ll need to create a child theme. You can find more details on creating child theme HERE. Then in you child theme’s functions.php add the following codes.

    add_action('init', 'fullframe_child_move_featured_header_above_slider');
    function fullframe_child_move_featured_header_above_slider() {
    	remove_action( 'fullframe_before_content', 'fullframe_featured_slider', 10 );
    	remove_action( 'fullframe_before_content', 'fullframe_featured_overall_image', 20 );
    	add_action( 'fullframe_before_content', 'fullframe_featured_overall_image', 10 );
    	add_action( 'fullframe_before_content', 'fullframe_featured_slider', 20 );
    }

    Regards,
    Mahesh

    #111900
    omradiocom
    Participant

    Many thanks Mahesh,
    It worked.
    The client then asked me for a couple of things that maybe you can share without much hassle.
    1. If I wanted to reduce the size of the “featured slider” to 1000px wide and use the second side to insert another widget (already named in the funtions as ‘twitterfeed’, where would that best be done?
    2. If I wanted to add an additional instance of a logo and large widget as a strip above the “fullframe-featured-slider” what would the best way to do that be? do it in the header.php near your ‘do-action’ statements or in another location?
    last
    3. If I wanted to have the 6 “featured content” items BELOW the content, is it best to simply remove it from the “fullframe_before_content” and place it in “fullframe_after_content”? or is there another way? And same thing, adding one additional Widget to that strip too.

    Thus the total row list would be:
    1. header strip at top (fixed-header)
    2. Logo / Banner widget
    3. Fullframe-slider/widget
    4. Content/Primary Widget
    5. Featured Content/Boxes – Widget
    6. Footer

    Make sense?
    I’m having a dig at the code anyway, so maybe I’ll figure it out.
    Thank you.
    C
    (trying to get client to put in some $ for pro theme. Have to get their answers all done first. “can you, can we, can it” time)

    #111902
    omradiocom
    Participant

    Saw that you already solved 3, except how would I add a widget to the side of the boxes. Otherwise, your brilliant coding already allows to flip it below the content. good job

    #111984
    Mahesh
    Participant

    @omradiocom: On the all above mentioned things, adding widget to the side of the slider, you’ll need to custom the html structures so I recommend you to hire a customizer. (includes 3 and 5)
    1. header strip at top (fixed-header)
    -> You want to remove the fixed header?

    2. Logo / Banner widget
    -> Full Frame Pro has Header Right widget feature, I recommend you to upgrade to Pro

    4. Content/Primary Widget
    -> Go to Dashboard=> Appearance-> Customize=> Theme Options=> Layout Options and select Content, Primary Sidebar in Default Layout option.

    5. Answered above.

    6. Footer
    -> Footer Editor feature is available in Pro version so you can put any text in the footer as desired. I recommend you to upgrade to Pro.

    Regards,
    Mahesh

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Flipping the Featured Header with the Banner’ is closed to new replies.