Support » Theme: Vega » Adding a second logo that can also redirect to another website.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author lyrathemes

    (@lyrathemes)

    @witk123 Thanks for trying out Vega, much appreciated.

    The best way to add the secondary logo would be to add a copy of the header.php file to your Child Theme and then edit it to add the required markup for the new logo.

    Hope that helps.

    @lyrathemes

    Can you give specifics on how to do that? I’m not well versed in programming with regards to web pages. I know for the custom CSS you can put in a url for the image, but I see that the header.php will work differently than that. I’m thinking I add another “navbar-header” under “container”, but I don’t really know.

    Thanks again,
    Justin

    diego

    (@corewpress)

    Hello @witk123 ,

    Welcome and thanks for posting your question.

    After you create your child theme and duplicate the header.php file on the new folder, open the file header.php and search for the following code:

                <!-- Logo -->
                <div class="navbar-header page-scroll">
                    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"><i class="fa fa-bars"></i></button>
                    <?php get_template_part('parts/header', 'logo'); ?>
                </div>
                <!-- /Logo -->
    

    Before or after that (it will depend on where you want your logo), you can add the following new HTML code:

    <div class="second-logo"><img src="[LOGO URL]"></div>

    This will give you the basics for adding it, now you can add the CSS you want to adjust it at your will.

    Please let me know if you have any questions.
    Kind regards,
    Diego

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