Logo on Blog/Posts

  • Posted in : BookCard WP
  • tjbb6
    Participant

    This is the last big part of my site that I’d like to get a handle on. I love the way my page looks so far but I would like to start posting blogs on a regular basis but right now my blog page just looks a bit plain and boring. Is there a way to add my logo to appear at the top of my blog page and in each individual blog post as well? A few more tools to customize the blog would be nice but I could get by with just having my logo at the top…

    http://www.arifpierce.com/blog/

    tjbb6
    Participant

    Also if anyone else out there is interested in adding facebook comment functionality to their blog posts I used the plugin below and it’s worked.

    FB Comments Plugin by Vivacity Infotech Pvt. Ltd.

    Mehmet S.
    Keymaster

    Hi, use this in your Theme Options > Style > External JS box:

    <script>
    jQuery(document).ready(function($)
    {
    $( '.page-template-template-blog-php > .container > .row' ).prepend( '<div class="span12 blog-logo"><img alt="" src="your-image-logo-url-here" style="
        max-height: 150px;
    "></div>' );
    });
    </script>
    
    tjbb6
    Participant

    Hi, I really really appreciate the help!! I’m not seeing the change take effect. Any ideas? I posted this in the external js box:

    jQuery(document).ready(function($)
    {
    $( ‘.page-template-template-blog-php > .container > .row’ ).prepend( ” );
    });

    tjbb6
    Participant

    Basically I copied and pasted your code as instructed and put this in the image logo url spot:

    http://www.arifpierce.com/wp-content/uploads/2014/07/logo-white.jpg

    Did I do something wrong?

    ahmetsali
    Keymaster

    sytnax error, try this one;

    <script>
    jQuery(document).ready(function($)
    {
    $('.page-template-template-blog-php > .container > .row' ).prepend('<div class="span12 blog-logo"><img alt="" src="http://www.arifpierce.com/wp-content/uploads/2014/07/logo-white.jpg" style="max-height: 150px;"></div>');
    });
    </script>
    
    tjbb6
    Participant

    No luck…I appreciate the attempt though. Thanks

    ahmetsali
    Keymaster

    i updated the code in my previous post, you can try it again.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register