[Support request] Removing Hook

Home Forums Support Removing Hook

  • This topic has 5 replies, 2 voices, and was last updated 2 months ago by David.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1365116
    Mahardhika

    Hi
    i want to restructure the featured image position div,
    i use child theme and insert this to remove current hook, but it doesnt remove

    add_action( 'generate_before_content','re_featured_image' );  
    function re_featured_image() {
    	remove_action( 'generate_before_content', 'generate_featured_page_header_inside_single', 20 );
    }

    need to make featured image outside “inside-article” class

    thanks

    #1365283
    David
    Staff
    Customer Support

    Hi there,

    you can change the Featured Image Location in Customizer > Layout > Blog –> Featured Images -> Posts. You can change it to Above Content Area.

    Let me know if that works.

    #1365293
    Mahardhika

    hi
    already do that
    but doesnt result like i want

    now = https://i.imgur.com/SzC48Rg.png
    i want it like this = https://i.imgur.com/clEwk0y.png

    is that possible to modify div/html structure?

    thanks

    #1365313
    David
    Staff
    Customer Support

    In Customizer > Layout > Blog –> Featured Images -> Posts – Uncheck: Display padding around images

    #1365320
    Mahardhika

    hi
    sorry still doesnt get what i want
    is that possible to modify div/html structure with removing hook or any other way?

    #1365362
    David
    Staff
    Customer Support

    That option should provide exactly what you displayed here:

    i want it like this = https://i.imgur.com/clEwk0y.png

    It may just be a case that the images are not wide enough – if you want to enable that option i can take a look.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.