Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

Want LOGO on right side of header using BFA options


  #1  
Old May 31, 2010, 10:01 AM
CVCS_MD's Avatar
CVCS_MD
 
4 posts · Feb 2010
Creston, BC, Canada
Wink Want LOGO on right side of header using BFA options

http://cvcstech.com

Q1: I would like to have the logo in the header area displayed on the right side of window, blog title and tagline on left using BFA options, not rewriting theme files.

Is this possible? How?

Q2: Would really like two logos, one on left, one on right with blog title and tagline centered in header area. Would prefer not to edit theme files. The second logo is currently used at the register page.

Last edited by CVCS_MD; Jun 5, 2010 at 08:20 AM. Reason: Clean up
  #2  
Old Nov 15, 2010, 02:29 AM
smitheringale
 
3 posts · Oct 2010
A quick solution for having logo on right and tagline on left, since I couldn't find an answer for getting logo on right and tagline on left elsewhere (I know this doesn't specifically answer your question - but answers part of your question for some people like me)


How i switched logo around

Open bfa_header_confing.php in the Editor part of Appearance tab - this is just below Atahualpa Theme Options (ATO)

You will then switch the order of two bits of code,

Specifically MOVE this bit of code

// Logo Icon for Wordpress and WPMU
if ( $bfa_ata['logo'] != "" ) {
echo '<td ' . $header_rowspan . 'valign="middle" class="logoarea-logo"><a href="';
bloginfo('url'); echo '/"><img class="logo" src="';

// if this is WordPress MU
if ( file_exists(ABSPATH."/wpmu-settings.php") ) {
// two ways to figure out the upload path on WPMU, first try easy version 1, :
$upload_path1 = ABSPATH . get_option('upload_path');
// Try the hard way, version 2:
$upload_path2 = str_replace('themes/' . get_option('stylesheet') .
'/functions', '', $_SERVER['DOCUMENT_ROOT']) .
'/wp-content/blogs.dir/' . $wpdb->blogid . '/files';
// see if user has uploaded his own "logosymbol.gif" somewhere into his upload folder, version 1:
$wpmu_logosymbol = m_find_in_dir($upload_path1,$bfa_ata['logo']); $upload_path = $upload_path1;
// try version 2 if no logosymbol.gif was found:
if ( !$wpmu_logosymbol ) {
$wpmu_logosymbol = m_find_in_dir($upload_path2,$bfa_ata['logo']); $upload_path = $upload_path2;
}

// if we found logosymbol.gif one way or another, figure out the public URL
if ( $wpmu_logosymbol ) {
$new_logosymbol = str_replace($upload_path,
get_option('fileupload_url'), $wpmu_logosymbol);
echo $new_logosymbol[0] . '" alt="'; bloginfo('name');
// otherwise: print the one in the theme folder
} else {
bloginfo('template_directory'); echo '/images/' . $bfa_ata['logo'] .
'" alt="'; bloginfo('name');
}

To after THIS bit of code


// Blog title and description
if ( $bfa_ata['blog_title_show'] == "Yes" OR $bfa_ata['blog_tagline_show'] == "Yes" ) {

echo '<td ' . $header_rowspan . 'valign="middle" class="logoarea-title">';

if ( $bfa_ata['blog_title_show'] == "Yes" ) {
echo '<h' . $bfa_ata['h_blogtitle'] . ' class="blogtitle"><a href="';
bloginfo('url'); echo '/">'; bloginfo('name'); echo '</a></h' . $bfa_ata['h_blogtitle'] . '>';
}

if ( $bfa_ata['blog_tagline_show'] == "Yes" ) {
echo '<p class="tagline">'; bloginfo('description'); echo '</p>';
}

echo '</td>';
}




Quote:
Originally Posted by CVCS_MD
http://cvcstech.com

Q1: I would like to have the logo in the header area displayed on the right side of window, blog title and tagline on left using BFA options, not rewriting theme files.

Is this possible? How?

Q2: Would really like two logos, one on left, one on right with blog title and tagline centered in header area. Would prefer not to edit theme files. The second logo is currently used at the register page.

Last edited by smitheringale; Nov 15, 2010 at 02:33 AM.
  #3  
Old Nov 15, 2010, 12:46 PM
runnyeggsham
 
9 posts · Nov 2010
That looks easily doable.
Would have been nice if there was a more simple solution, eh?

BTW, I looked at the website just for kicks. CVCS, how did you show the blue border lines in the body to show up?
  #4  
Old Nov 15, 2010, 04:34 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
You should be able to add some CSS positioning to the CSS inserts to do this without having to change any theme code.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Tags
logo right align



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can a place a logo image on the left side and another image on the right side? Ms. M Header configuration & styling 11 Jan 18, 2010 12:28 PM
How to use BFA SEO options seleniumgirl Atahualpa 3 Wordpress theme 0 Dec 31, 2009 10:35 AM
[SOLVED] &quot;BFA Subscribe&quot; Widget in Page Menu Bar (right side) ChrisPanimation RSS, Feeds & Subscribing 5 Dec 3, 2009 11:37 AM
Switch positions of logo and search box? Logo on right side DogBot Header configuration & styling 1 Jun 12, 2009 10:17 AM


All times are GMT -6. The time now is 12:35 AM.


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