Support » Theme: Sparkling » Header image on Sparkling?

  • Aa the other topic is closed where I tried to ask this one so here it goes again as separate topic:

    I just found this topic when searching info about why my header image is not scaling properly untill it “jumps” to the mobile size. Then it starts scaling normally. I am using InstantWP, not online version.

    https://wordpress.org/support/topic/header-81?replies=3

    So did I understood correctly I am not able to use large well scaling header image at all with this theme? I must turn to other themes if it won’t work. Pity as I liked it othrwise.

    And secondly, is this Sparkling theme capable of handling affiliate marketing links?

    Sorry, I am beginner and I am pretty confused with everything related to WP building.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @kauno,

    I hope you are well today and thanks for posting here.

    I just found this topic when searching info about why my header image is not scaling properly untill it “jumps” to the mobile size. Then it starts scaling normally. I am using InstantWP, not online version.

    Could you please share me the page URL from your site where it’s not displaying correctly so that i can troubleshoot it?

    And secondly, is this Sparkling theme capable of handling affiliate marketing links?

    The Sparkling theme can handle any type of link including affiliate link but there isn’t any affiliate link specific functionality in theme. To use affiliate functionality in WordPress, you can use any of the following plugins.

    https://wordpress.org/plugins/affiliates/
    http://affiliatewp.com/
    https://wpaffiliatemanager.com/
    https://wordpress.org/plugins/tags/affiliate-plugin

    Best Regards,
    Movin

    Thread Starter kauno

    (@kauno)

    Hi Movin

    I appreaciate your kind reply. Unfortunaltely I still don’t even have hosting provider or registered domain(although I’m about to do those in coming days), I was just tentatively learning the basic functionality, studying different themes and options on InstantWP that is portable solution before going for the real one. Could it be the issue that it’s portable, not the real one? But the author at the topic above said only logo is possible to use as header, and so it would not scale? (but it was one year old topic so I thought maybe there is some changes, so I wanted to ask again) Do you think you can fix it with some additional code once I have opened the online version?

    Thank you!

    Hi @kauno,

    You can make the header logo larger in size and full width by using the following code in the functions.php file of your child theme or as a small plugin like shared here https://colorlib.com/wp/forums/topic/make-header-menu-imagelogo-wider/#post-39979

    function modify_sparkling_custom_header_args( $header_args ){
        $header_args['width'] = 9999;
        $header_args['height'] = 9999;
        return $header_args;
    }
    add_filter( 'sparkling_custom_header_args', 'modify_sparkling_custom_header_args');

    Best Regards,
    Movin

    Thread Starter kauno

    (@kauno)

    Wow, you made special plug-in just for us, header image junkies!:-) Thank you.

    Thread Starter kauno

    (@kauno)

    By the way, is this code modification now included in the newest Sparkling theme update which was published yesterday? I noticed that the image scales and works well now after the update even if I uninstalled/deleted the plug in (and child theme) that Movin shared earlyer. Or does the plug in leave some code even if it’s deleted and therefore the image works still despite the plug in being deleted?

    I also installed one-click child theme creator plug-in but then found out there was ready made Sparkling child theme available in one colorlib topic so I deactivated the child theme creator plug. Also does it leave some remaining codes in place that I should manually erase that may cause problems later if left behind? Or everything is clear and the image works because of the new update?

    Hi @kauno,

    You are most welcome here 🙂

    By the way, is this code modification now included in the newest Sparkling theme update which was published yesterday?

    No

    I noticed that the image scales and works well now after the update even if I uninstalled/deleted the plug in (and child theme) that Movin shared earlyer. Or does the plug in leave some code even if it’s deleted and therefore the image works still despite the plug in being deleted?

    May be some functionality updated in the latest version of the theme have made it worked.

    If you uninstall the plugin then there isn’t any code left behind on the site.

    Also does it leave some remaining codes in place that I should manually erase that may cause problems later if left behind?

    It won’t affect until you activate the child theme again. You can delete the remaining code on your server by using FTP or cPanel file manager.

    Or everything is clear and the image works because of the new update?

    Yes i think so.

    Regards,
    Movin

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Header image on Sparkling?’ is closed to new replies.