Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Forum How-To (http://forum.bytesforall.com/forumdisplay.php?f=9)
-   -   Can Rotate Header and Resize Header work together? (http://forum.bytesforall.com/showthread.php?t=1949)

thetravelchronicle Jun 6, 2009 01:37 PM

Can Rotate Header and Resize Header work together?
 
I love the new Rotate Header feature in 3.3.3, and am not sure I'd switch to a fade or wipe feature if it were available.
Is it possible to adapt the resize instructions from "Automatic resizing of the header image"...

http://forum.bytesforall.com/showthread.php?t=301

...to work with the rotate feature?

Also, now that the header rotates, the final vestigial value (to cycle through the header images) of the link in the logo area is pretty much gone. Can you suggest a way to eliminate the clickable logo?

thetravelchronicle Jun 14, 2009 12:31 PM

It would appear that I asked a really dumb question. It would help to know why it's a really dumb question.

juggledad Jun 14, 2009 03:20 PM

You haven't asked a dumb question (the only dumb question is the one unasked), however people who donate get higher priority.

To prevent the header from being clickable, shut it off in the options. (ATO-Header)

Will resizing and rotating work together, I don't think so as they are currently coded. you would have to make changes. My personal solution to this is to have long narrow images and have the image linked to the left of the page (so the right side loses/gains area when resizing) and the important part of the image always being on the left.

thetravelchronicle Jun 14, 2009 04:49 PM

One point of mystery - I have contributed to both theme development and to you, none of which has shown up with little gold bars or anything. Did Paypal not come through?

The Header I'm using is not clickable - I turned that off. It's the Logo area (for lack of a better identifier) that still has a link behind it.

>Will resizing and rotating work together, I don't think so as they are currently coded. you would have to make changes.

Any chance of encouraging development?

I'm using two monitors to test the range I'd like to optimize. One is a landscape ratio 24 inch model at 2048x1280, and the other is a standard ratio 17 inch at 1024x768. I've worked out an acceptable compromise (as far as image clipping) at 72 dpi with images centered, but the smaller monitor loses vertical geography and gains a clunky look without the proportional correction of a resize, and the larger monitor ends up with an image that doesn't even span the center container.

No sooner did the resize option turn up on the forum to solve the problem than the really cool rotate function came along - what a dilemma!

Depending on how big a tinker it would take to make both work, the results would provide a very sophisticated look.

juggledad Jun 14, 2009 07:44 PM

Send Flynn a PM about your donation and he will give you credit and could you send me a PM with your paypal id so I can tie your handle here with the paypal info.

To make the logo non clickable, edit bfa_header_config.php (in ver 3.3.3) and change
HTML Code:

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

to
HTML Code:

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

As for mixing the two options...this is something that Flynn will have to look at since he is the developer.

thetravelchronicle Jun 18, 2009 01:21 PM

I did finally find time to eliminate the reload of the home page from the clickable logo link. However, I still have the hovering hand which implies that something should happen when you click there. Can you suggest a way to get rid of that as well?

thetravelchronicle Jun 23, 2009 08:17 PM

Upon further review, the page is still being reloaded, it was just happening so fast in Firefox that I didn't realize it.
Bottom line, removing <a href="' . get_option('home') . '/"> doesn't get rid of the link.

juggledad Jun 24, 2009 08:48 AM

please post the url

thetravelchronicle Jun 24, 2009 10:49 AM

http://www.thetravelchronicle.net/

juggledad Jun 24, 2009 03:08 PM

Ahhh, that's not the logo area, that is the Blog Title which is still clickable. the idea is that if someone clicks on it, it will take them to the home page. If you don't want that clickable edit bfa_header_config.php and find the code (about line 99)
HTML Code:

        if ( $bfa_ata['overlay_blog_title'] == "Yes" OR $bfa_ata['overlay_blog_tagline'] == "Yes" ) {
                        $header_image .= '<div class="titleoverlay">' .
                        ( $bfa_ata['overlay_blog_title'] == "Yes" ? '<h' . $bfa_ata['h_blogtitle'] . ' class="blogtitle"><a href="' . get_option('home') . '/">' .
                        get_bloginfo('name') . '</a></h' . $bfa_ata['h_blogtitle'] . '>' : '' ) . ( $bfa_ata['overlay_blog_tagline'] == "Yes" ? '<p class="tagline">' .
                        get_bloginfo( 'description' ) . '</p>' : '' ) . '</div>';
                }

and change it to
HTML Code:

                if ( $bfa_ata['overlay_blog_title'] == "Yes" OR $bfa_ata['overlay_blog_tagline'] == "Yes" ) {
                        $header_image .= '<div class="titleoverlay">' .
                        ( $bfa_ata['overlay_blog_title'] == "Yes" ? '<h' . $bfa_ata['h_blogtitle'] . ' class="blogtitle">'  .
                        get_bloginfo('name') . '</h' . $bfa_ata['h_blogtitle'] . '>' : '' ) . ( $bfa_ata['overlay_blog_tagline'] == "Yes" ? '<p class="tagline">' .
                        get_bloginfo( 'description' ) . '</p>' : '' ) . '</div>';
                }


thetravelchronicle Jun 24, 2009 07:24 PM

Why I Try To Stay Out of The Code - By thetravelchronicle

Yep, that got rid of the link, and also changed the font I was using for the title (!?!) to something quite ugly.

Now that I've added a bunch of pages, the link to the homepage directly below the link to the homepage seems less redundant. Time to leave well enough alone.
Thanks for looking into it.


All times are GMT -6. The time now is 09:47 AM.

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