Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #580628

    Greetings, first of all thanks for an excellent theme :)
    i tried to search the topics regarding to my problem and unfortunately couldn’t find a suitable solution :( So, if i can get some help, i’d be very pleased.

    I am having some problems with the header. I’d like to add a second logo to the header on the right which can be seen on all the responsive states of the website (phones and tablets included) I’ve tried the previous solutions of the staff and i cannot say i succeeded, coz some of them are outdated, some of them don’t resize correctly.

    Thanks in advance
    Can

    Screenshot: http://imgur.com/bqfCbf1

    • This topic was modified 9 years, 5 months ago by caisson.
    #580646

    Hey caisson!

    can you show us which option u used, and did not resized correctly, so we can update the code?
    Thanks a lot

    Regards,
    Basilis

    #580659

    Sure, i used Josue’e solution which he was posted on June 16, 2014.
    I am using the Logo Left, Menu Below, Large Seperator, Slim Header Size options in header.

    adding the code to functions.php

    function second_logo($logo) {
    	$logo .= '<strong class="second-logo logo bg-logo"><a href="_PUT_URL_HERE_"><img src="_PUT_LOGO_URL_HERE_"></a></strong>';
    	return $logo;
    }
    add_filter('avf_logo_final_output', 'second_logo');

    Quick CSS from General Styling (I modified left to 1000px)

    .second-logo {
        left: 250px !important;
    }

    Results I Get
    Screen One: http://imgur.com/OJDqPDl
    Screen Two: http://imgur.com/pVjPnGq

    • This reply was modified 9 years, 5 months ago by caisson.
    #581305

    Hi!

    Can you please post temporary login credentials here privately? Coming soon plugin is active currently :)

    Best regards,
    Yigit

    #581361

    Hello Yiğit;
    just opened a temp admin user for you guys,
    you can check the private content…
    Best Regards ( Şimdiden teşekkürler :) )
    Can

    #582880

    Hi!

    We modified the code a bit because there’s a jQuery script that duplicates the logo markup.

    add_filter('avf_logo_final_output', 'avf_logo_final_output_mod', 10, 6);
    function avf_logo_final_output_mod($logo, $use_image, $headline_type, $sub, $alt, $link) {
    	$secondlogo = "<".$headline_type." class='secondlogo'><a href='_PUT_LOGO_LINK_HERE_'><img height='100' width='300' src='http://www.mobileinhouse.com/degisim/wp-content/themes/vecu/images/layout/logo.png' alt='_PUT_LOGO_ALT_HERE_' title='_PUT_LOGO_TITLE_HERE_'/></a></strong>";
    	$logo = $logo . $secondlogo;
    	return $logo;
    }

    Adjust the logo style in the Quick CSS field.

    Regards,
    Ismael

    #582908

    Hello, thanks for the help Ismael, just a little question.
    it’s showing 4 logos (2 big, 2 small). can’t determine if is that normal or not. does it have to do with the css styling?
    thanks again

    #583131

    Hi!

    We already fixed that. Please make sure that you’re not looking on a cached version of the site.

    Cheers!
    Ismael

    #584243

    Hi Again,
    thanks for the reply, but i cannot display a 2 logo only version of the site although i updated the logos and did all the cache-cleaning…
    if it is not too much trouble, can you please check again?
    Regards,
    CAN

    #584270

    Merhabalar Can!

    Code worked totally fine on my end. I was looking into your installation to see what is wrong but accidentally caused fatal error. Please go to wp-content/themes/enfold/functions.php file and remove the code or if you do not mind posting FTP access here privately, i can fix it. Sorry about that!
    Cok uzgunum!

    Best regards,
    Yigit

    #584277

    Selamlar Yiğit,
    well, i did correct the fatal error (you moved the code upwards, which i did not notice earlier and tried to re-insert it, which resulted with a fatal error )
    you can now check the site again, and here is the screenshot.

    View post on imgur.com

    • This reply was modified 9 years, 4 months ago by caisson. Reason: added private content
    #584287

    Merhabalar!

    Have you made any other changes on theme files?
    If you do not mind removing extra logos with custom CSS, please use following code in Quick CSS

    .logo:nth-child(1), .secondlogo:nth-child(3) {
        display: none;
    }

    Regards,
    Yigit

    #584293

    i do not remember making any extra changes…
    i used the quick css you’ve provided and works like a charm on desktop version, cha-ching!! :)

    The only thing that remains is;
    the responsive states (second logo is not shown on smaller screens. And on the mobile version, there are 2 same logos (the black one))
    Thanks again guys

    • This reply was modified 9 years, 4 months ago by caisson.
    #585837

    Hey!

    Did you transfer the site? The url above doesn’t exist anymore.

    Best regards,
    Ismael

    #586190

    yes, unfortunately :( but will put it back today or tomorrow
    Thanks

    #586194

    Hey!

    We will keep the thread open and wait to hear from you :)

    Cheers!
    Yigit

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