Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Montezuma Theme (http://forum.bytesforall.com/forumdisplay.php?f=53)
-   -   [SOLVED] Adding a logo to the header? (http://forum.bytesforall.com/showthread.php?t=18576)

aengus Oct 5, 2012 05:56 AM

[SOLVED] Adding a logo to the header?
 
I was curious if there is an easy way I am missing to add a logo next to the site title?

Fumbling around, I was editing the header.php sub template and managed to get the logo where I want it, but after the logo it looks like a line break and the title text starts underneath. http://www.flaxpond.net/soundadvent to see what I mean if thats not clear.

Here is the current state of the code with my img tag in there.

Code:

<div id="banner-bg" class="cf">
        <div id="banner" class="row">
                <div id="logo-area" class="col5">
                        <<?php bfa_if_front_else( 'h1', 'h3' ); ?> id="sitetitle">
                                              <img src="http://flaxpond.net/soundadvent/wp-content/uploads/2012/10/SA-sitelogo.png" ><a href="<?php echo home_url(); ?>"><?php bloginfo( 'name' ); ?></a>
                        </<?php bfa_if_front_else( 'h1', 'h3' ); ?>>
                        <p id="tagline"><?php bloginfo( 'description' ); ?></p>
                </div>

Thanks for any help and really love the look of this theme!

lmilesw Oct 5, 2012 07:52 AM

It seems like the simplest solution is inline CSS like
HTML Code:

<div id="banner-bg" class="cf">
        <div id="banner" class="row">
                <div id="logo-area" class="col5">
                        <<?php bfa_if_front_else( 'h1', 'h3' ); ?> id="sitetitle">
                                              <img style="float:left; margin-right:5px;" src="http://flaxpond.net/soundadvent/wp-content/uploads/2012/10/SA-sitelogo.png" ><a href="<?php echo home_url(); ?>"><?php bloginfo( 'name' ); ?></a>
                        </<?php bfa_if_front_else( 'h1', 'h3' ); ?>>
                        <p id="tagline"><?php bloginfo( 'description' ); ?></p>
                </div>


juggledad Oct 5, 2012 07:54 AM

go and read the page MO->CSS Settings->Editing CSS

aengus Oct 5, 2012 08:41 AM

Quote:

Originally Posted by lmilesw (Post 90889)
It seems like the simplest solution is inline CSS like
HTML Code:

<div id="banner-bg" class="cf">
        <div id="banner" class="row">
                <div id="logo-area" class="col5">
                        <<?php bfa_if_front_else( 'h1', 'h3' ); ?> id="sitetitle">
                                              <img style="float:left; margin-right:5px;" src="http://flaxpond.net/soundadvent/wp-content/uploads/2012/10/SA-sitelogo.png" ><a href="<?php echo home_url(); ?>"><?php bloginfo( 'name' ); ?></a>
                        </<?php bfa_if_front_else( 'h1', 'h3' ); ?>>
                        <p id="tagline"><?php bloginfo( 'description' ); ?></p>
                </div>


Thank you so much! worked like a charm, apparently I am exceeding the column width with that additional image so it broke the second word to the next line. Fortunately for me I like that even better!

Thanks again!


All times are GMT -6. The time now is 09:56 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.