Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Featured Section – image #734
    zafon
    Participant

    I’m appriciate your work, unfortunetly i don’t have money to paid for customization (I’m just a beginner 🙂 )

    i have a question – files responsible for change featured section is front-page.php, functions.php and customizer.php (if want change editor panel)

    front-page.php

    	$square_featured_page_id = get_theme_mod('square_featured_page'.$i, $square_page );
    	$square_featured_page_icon = get_theme_mod('square_featured_page_icon'.$i, 'fa-bell');

    and i must write
    $square_featured_page_image = get_theme_mod('square_featured_image'.$i, $square_page );

    and add code into functions.php

    	add_theme_support( 'post-thumbnails');
    
    	add_image_size( 'square-about-thumb', 400, 420, true );
    	add_image_size( 'square-blog-thumb', 800, 420, true );

    Now it shows feature image, but it’s not large enough to fill the cover (div.sq-featured-post.sq-featured-post1)

    Sorry for trouble and have nice a day.

Viewing 1 post (of 1 total)