Testing Out Custom Header Plugin

user-pic
Vote 0  

Filed:

 
Byrne Reese has some really great plugins. The latest being Custom Header. The plugin is built for specific themes, and not ready for others. After asking, Byrne showed me how to add support for Customer Header to Tristan Blue, which is the Community Blog/Community Forum template set in MT Pro.

It should be noted that Tristan Blue really does not have a spot for a custom header, but I have added one during my modifications of the Tristan Blue shell.

Later when I have time, I will write a how-to on adding support to Tristan Blue (or any other template set for that matter), but Byrne's comments explain how it is done, and those instructions worked.

Custom HeaderSome quick tips: use spaces, not tabs when editing the config.yaml file. Avoid images taller than 600 px, I was unable to use the Crop button. I also do not recommend using an mt:if statement around the CSS. This is mine:

#header-ch {
    background-image: url('<mt:CustomHeaderAsset><mt:AssetURL></mt:CustomHeaderAsset>');
    background-repeat: no-repeat;
    margin:0px;
    height: 70px;
    padding-left:10px;
    background-color:#FFFFFF;
}


The reason is simple: if no banner is selected, I still want the DIV to have a background color.

Email to a friend

Anonymous comments are always moderated, please sign in and join the discussion. Create an account for a user profile and community features. Please read our comments policy.

Leave a comment

Poll

Do you like the toolbar at the bottom of this blog?

View results

View & Download PDF


View our support community!

About This Blog

Ken Edwards (and hopefully other project members) will be blogging here — a place to keep up on what is happening on the BG Views project. You will find bits of code, project updates, and random technical information aimed at confusing the hell out of you. More »

Subscriptions

Mobile Edition

Mobile EditionAccess the BG Views Developer Blog on your iPhone or other mobile device. Read more about our mobile site »
Powered by Movable Type 4.34-en

 

Also powered by:

  • Caffeine (Dr. Pepper)
  • Cup Cakes (Hostess)
  • Pizza (Pisanello's)