• Resolved samhar

    (@samhar)


    Hello all,
    First, I need to thank the Author for this cool theme, I love it! I especially appreciate the widgets, this is precisely what I needed.
    However, I was wondering if there’s any chance for making the photo on the main page somewhat smaller, so the actual content appears more quickly? (Now one needs to scroll a lot when viewing on a laptop, though on a tablet it looks much better) Perhaps there is something I could change in the code, would somebody please tell me what to change and where exactly so I don’t mess up the entire thing?
    I’m a beginner to WP, so please go easy on me, ok?:)
    Thanks in advance,
    G.

Viewing 9 replies - 1 through 9 (of 9 total)
  • if you mean your header image, I had the same problem!

    – First make sure you editing a child theme from your theme
    – and modify CUSTOM_HEADER.PHP folder.
    – where you see: the width and height just change it to the size you want

    Thread Starter samhar

    (@samhar)

    OK, that sounds manageable even for a rookie like me… I’ll try it first thing tomorrow.
    THANK YOU VERY MUCH FOR SUCH A QUICK REPLY!
    All the best!
    G

    Thread Starter samhar

    (@samhar)

    Hi andreaag,
    If you could help me again: I made a child theme all right, and added @import url(‘../swiftbiz lite/style.css’); to child theme’s code according to some instructions I’ve found, but I can’t find custom_header.php folder you mentioned earlier. In my child theme I see only style.css and functions.php.
    How do I access this custom_header.php please?
    Thanks,
    G
    ps. Please explain in simple language (as for a 5-year-old), ok?;) Thanks

    Thread Starter samhar

    (@samhar)

    I copied the header.php to my child theme, but I can’t find anything that would refer to size (no words such as height/width) etc. Any clue? Thanks,G.

    Thread Starter samhar

    (@samhar)

    After a long search I found front-bgimage-section.php, which is in my opinion what I should change. It goes like this:
    <!– header image –>
    <div class=”swiftbiz-front-bgimg”>
    <img alt=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” class=”ad-slider-image” src=”<?php header_image(); ?>” width=”<?php echo get_custom_header()->width; ?>” height=”<?php echo get_custom_header()->height; ?>” />
    </div>
    <!– end header image –>

    What should I change here, if any?
    Thanks,
    G.

    <!– header image –>
    <div class=”swiftbiz-front-bgimg”>
    <img alt=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” class=”ad-slider-image” src=”<?php header_image(); ?>” width=”<?php echo get_custom_header()->width; ?>” height=”<?php echo get_custom_header()->height; ?>” />

    where you see: width=”<
    (on the forth row) add the width example:

    width=630″<?php echo……

    for height enter the height on the fifth row.

    Thread Starter samhar

    (@samhar)

    Woooow, this is sooo advanced:) (at least for me)… Again, many thanks for your assistance, I’ll try this tonight and we’ll see how it goes.
    G.

    Thread Starter samhar

    (@samhar)

    Hi, it’s me again – I just want to thank you very much for all your help, the formula helped to solve the issue that has bugged me. Thanks, and all the best to you!
    G

    you’re welcome. I had the same issue and it took me forever to figure it out how to do it by myself.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Smaller pict on main page?’ is closed to new replies.