+ Reply to Thread
Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: different headers on different pages?

Hybrid View

  1. #1
    Junior Member
    Join Date
    Nov 2010
    Posts
    25

    different headers on different pages?

    hi, is it possible to have a different header on different pages?

    http://www.ianthomasdarley.com what am looking to do is have a offer / optin per page dependent on viewers interest?

    coaching been one
    business / marketing tips been another

    liked to have kept it all on one site but if thats not possible will link from the menu to another domain and set new site

    thanks is advance and hope that makes sense?

    Ian

  2. #2
    Senior Member ben_pyman's Avatar
    Join Date
    Nov 2010
    Location
    Adelaide, AUSTRALIA
    Posts
    836
    Hey Ian.

    Welcome to Catalyst if you haven't been welcomed already.

    Sure is possible to have different headers in different pages... Check this out: http://catalysttheme.com/how-to-disp...fferent-pages/

    Re separate sites, sometimes that's a good option, and Catalyst works very well with Wordpress Multisite which can be a great way to manage them.

    But really, what it sounds like you want to do can be easily achieved in a single site with some custom layouts per the screencast. You can use categories and specific sidebar content per section that is most applicable.

    Have fun with it!

    Ben
    Last edited by ben_pyman; 02-21-2012 at 07:39 AM.
    Wild Creature Development - Wordpress Website design, construction, theme migration and renovation exclusively in the Catalyst and Dynamik environments.


  3. #3
    Junior Member
    Join Date
    Nov 2010
    Posts
    25
    Thanks Ben, and sorry for the delay in reply

    Had not set up "email" when some one reply's to post

    Thanks for the warm welcome and will take look over at the screen cast

    loving the upside down pic!

  4. #4
    Junior Member
    Join Date
    Nov 2010
    Posts
    25
    hi guys,

    is it possible to have the different headers showing for different categories?

    meaning i have set my nav bar with 3 separate links to 3 separate categories think it , live it, do it,

    i wanted to display different header for each one with different offer

    have tried changing the layout to custom in the posts section with no joy... is it possible to do? or is it just for pages?

    thanks in advance ian

  5. #5
    Junior Member
    Join Date
    Nov 2010
    Posts
    25
    just a update, have managed to get the header show for categorie if you click on the blog post itself but it dont work from the nav bar? am at a loss with that one?

    second thing been 2 out of the three work fine yet the "doing" check it out here www.ianthomasdarley.com has what meant to be in the header floating above the site? yet i have triple checked and it is same as other pages? help?

    have used the hide code as explained in link previous in this post... still no joy

    so appreciate some guidance as its boiling my swede lol

  6. #6
    Catalyst Team Member justme's Avatar
    Join Date
    Nov 2010
    Posts
    8,597
    I think we need to clarify exactly what you are trying to do.

    Do you want the different headers to display only on the Category pages (linked to from the menu items) or on both the Category and single Post pages?

    There are different kinds of pages - the blog page is different from the posts pages which are different from the category pages. How you set things up will depend on what you want the different pages to do.

    If you have regular Category links in the menu, those links will direct to Category archive pages (as distinquished from single Post pages). When you click on a Post Title you are taken to a single post page which is a different type of page from Category pages. You can make the headers the same or different for both types of pages. We just need to know which you want.
    Website: CoolPianoStuff / Facebook: CoolPianoStuff / Twitter: CoolPianoStuff

  7. #7
    Junior Member
    Join Date
    Nov 2010
    Posts
    25
    thanks for explaining i had not realized all that

    am after different headers displaying on different category pages, so if you click on "think it" (which is category) in the nav bar or if you click on a post from the blog which is a "think it" tagged post it displays with the same header

    hope that makes sense

    love this place... appreciate help so much

  8. #8
    Junior Member
    Join Date
    Nov 2010
    Posts
    25
    ps. forgot to mention i still have not managed to work out why i have a floating header? when you click on "doing it" category posts... it is set up exactly same as the others...

    thanks in advance

  9. #9
    Catalyst Developer eric's Avatar
    Join Date
    Dec 2010
    Posts
    6,401
    You should be able to do this will a little custom PHP code. Basically, you would roughly follow the instructions given in the screencast linked to above, but instead just create a single Custom Hook Box and set it to display on ALL Layouts, and then paste in the following code, tweaking it to your specific needs:

    PHP Code:
    <?php if( is_category'Category #1' ) || in_category'Category #1' ) ) { ?>
    YOUR CATEGORY #1 HEADER IMAGE
    <?php } elseif( is_category'Category #2' ) || in_category'Category #2' ) ) { ?>
    YOUR CATEGORY #2 HEADER IMAGE
    <?php } elseif( is_category'Category #3' ) || in_category'Category #3' ) ) { ?>
    YOUR CATEGORY #3 HEADER IMAGE
    <?php ?>
    Eric

    Eric

  10. #10

    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

+ 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