+ Reply to Thread
Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22

Thread: different headers on different pages?

  1. #11
    Catalyst Developer eric's Avatar
    Join Date
    Dec 2010
    Posts
    6,319
    I totally understand. Here is your code, tweaked a bit:

    PHP Code:
    <?php if( is_category'Thinking It' ) || in_category'Thinking It' ) ) { ?>
    thinking it #1 <a href="http://s1132.photobucket.com/albums/m576/iandarley/Snapbucket/web%20graphics/?action=view&amp;current=ThinkItOffer.png" target="_blank"><img src="http://i1132.photobucket.com/albums/m576/iandarley/Snapbucket/web%20graphics/ThinkItOffer.png" border="0" alt="Photobucket"></a>
    <?php } elseif( is_category'Doing It' ) || in_category'Doing It' ) ) { ?>
    doing it #2 <a href="http://s1132.photobucket.com/albums/m576/iandarley/Snapbucket/web%20graphics/?action=view&amp;current=DoingItOffer.png" target="_blank"><img src="http://i1132.photobucket.com/albums/m576/iandarley/Snapbucket/web%20graphics/DoingItOffer.png" border="0" alt="Photobucket"></a>
    <?php } elseif( is_category'Living It' ) || in_category'Living It' ) ) { ?>
    living it #3 <a href="http://s1132.photobucket.com/albums/m576/iandarley/Snapbucket/web%20graphics/?action=view&amp;current=LivingItOffer.png" target="_blank"><img src="http://i1132.photobucket.com/albums/m576/iandarley/Snapbucket/web%20graphics/LivingItOffer.png" border="0" alt="Photobucket"></a>
    <?php ?>
    Note that I changed the "Category #1", "Category #2" and "Category #3" bits to your actual Category names.

    Eric

  2. #12
    Junior Member
    Join Date
    Nov 2010
    Posts
    25
    thanks eric, really appreciate taking time to do that, figured must been the category thing!

    feel am bit out my depth here, linked in the code and now have floating headers above my site

    ianthomasdarley.com

    am sure its a tiny thing but code is like trying read Chinese to me

  3. #13
    Catalyst Developer eric's Avatar
    Join Date
    Dec 2010
    Posts
    6,319
    What are your exact Custom Hook Box settings? Most importantly, what's the hook location you're hooking them into?

    Eric

  4. #14
    Junior Member
    Join Date
    Nov 2010
    Posts
    25
    feeling like am been real pain here. have attached 2 Screen shot 2012-03-27 at 20.14.00.jpgimages Screen shot 2012-03-27 at 20.13.31.jpg

    when you click link from post the correct banner shows (in header) & the correct header shows (above above header) banner not where it should be (floating above the site and not in the header section)

    the links from the nav bar still don't show anything other than the default layout am guessing that is something to set up else where

    am guessing it has something to do with the default image header but i dont know what?

    eric... very much appreciate your help

  5. #15
    Catalyst Developer eric's Avatar
    Join Date
    Dec 2010
    Posts
    6,319
    I see you have your "Priority" set to "1". What happens when you set it to something like "10"?

    Eric

  6. #16
    Junior Member
    Join Date
    Nov 2010
    Posts
    25
    hi eric

    tried changing that and makes no difference at all

  7. #17
    Catalyst Developer eric's Avatar
    Join Date
    Dec 2010
    Posts
    6,319
    At this point it might just be more efficient for me to login to your Dashboard and try it myself. If you'd like for me to do this then email me your WordPress login details.
    http://catalysttheme.com/forum/sendmessage.php

    Eric

  8. #18
    Junior Member
    Join Date
    Nov 2010
    Posts
    25
    sent and many many thanks

  9. #19

    Join Date
    Feb 2012
    Location
    Barcelona, Spain
    Posts
    19
    Hello Eric,
    Speaking of Header images. I created a Custom Layout and added a different header image to it. However the original image (belonging to the default layout header) is still behind the new one. Does that mean that the header on my custom layout must have the exact the same size as the default header.? I need the header on the custom page to be narrower the one on the default page. How can I achieve that?
    Sonny

  10. #20
    Catalyst Developer eric's Avatar
    Join Date
    Dec 2010
    Posts
    6,319
    Hey Sonny,

    Are you basing this on this tutorial:
    http://catalysttheme.com/how-to-disp...fferent-pages/

    If so you shouldn't have multiple images displaying at the same time.

    Eric

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts