Forum Replies Created

Viewing 5 replies - 136 through 140 (of 140 total)
  • Hello
    Open functions.php in your child theme and add following code

    function wpdocs_theme_name_scripts() {
        wp_enqueue_style( 'child-style-name', get_stylesheet_uri(), 'brawny-style' );
    
    }
    add_action( 'wp_enqueue_scripts', 'wpdocs_theme_name_scripts' );

    and then edit style.css inside your child theme folder to have a test. Hope this will work.
    Also try replacing brawny-style with style id which comes after child theme style css.

    Hello @bjarnijo90,
    Yes you can have this
    Use Advanced Custom fields plugin or Custom Meta Boxes to set different image for slider post type.

    You can also achieve this with featured Image.
    In Features Images Use Image Size that you required (let say use an image with width and Height 1600px, 500px)

    Then In code get full size image using following code

    <?php
    $feat_image = wp_get_attachment_url( get_post_thumbnail_id($post->ID) );
    echo '$feat_image';
    ?>

    Hello @rehulch
    This answer is for storefront Theme.
    For any other theme please try this

    function storefront_add_bottombar() {
    if(is_home()||is_front_page()){
    ?>
    <div id="strip">
    <div class="col-full">
    <img width="700" height="400" src="https://localhost/soulcurry/wp-content/uploads/2015/12/neosans_lc_left-indent_cropped.jpg" class="site-banner attachment-full" alt="Site Banner" data-size="full" itemprop="banner">
    </div>
    </div>
    <?php
     }
    }
    add_action( 'wp_footer', 'storefront_add_bottombar' );

    Please read this for wp_footer action details https://codex.www.ads-software.com/Plugin_API/Action_Reference/wp_footer

    Another way for doing this is

    Open you footer.php, look for location where you need this and add just add following code there

    <?php if(is_home()||is_front_page()){
    ?>
    <div id="strip">
    <div class="col-full">
    <img width="700" height="400" src="https://localhost/soulcurry/wp-content/uploads/2015/12/neosans_lc_left-indent_cropped.jpg" class="site-banner attachment-full" alt="Site Banner" data-size="full" itemprop="banner">
    </div>
    </div>
    <?php
     } ?>

    Hope this will work.
    Let me know if you have any further question.
    Thank you

    Hello
    Open Your functions.php file and add this at very last

    function storefront_add_bottombar() {
    if(is_home()||is_front_page()){
    ?>
    <div id="strip">
    <div class="col-full">
    
    </div>
    </div>
    <?php
     }
    }
    add_action( 'storefront_before_content', 'storefront_add_bottombar' );

    Hope this will solve your issue.

    Hello
    I am using same plugin in a website but it is not working properly. When ever i update text or images in WP admin , it is not updated to frontend in Google Chrome. Also there is an issue with FireFox & IE.
    Plugin is showing character ‘n’ before and after Timeline post content in IE and firefox. please help.
    You can check website at https://www.centegytechnologies.com

    sajid

Viewing 5 replies - 136 through 140 (of 140 total)