Frisco for BuddyPress
[resolved] Image Header (18 posts)

  1. mareksgregs
    Posted 3 years ago #


    Can someone guide me on how to implement an image header to my site?


  2. Cidade Sonho
    Posted 3 years ago #

    @mareksgregs it´s easy

    let´s go

    1 - Open Header.php on Frisco Theme

    2 - Search <h1 id="logo" role="banner"><a href="<?php echo home_url(); ?>" title="<?php _ex( 'Home', 'Home page banner link title', 'buddypress' ); ?>"><?php bp_site_name(); ?></a></h1>

    3 - Change to <h1 id="logo" role="banner"><img border="0" src="IMAGE URL" width="0" height="0"></h1>


  3. mareksgregs
    Posted 3 years ago #

    Thanks bud! Works great.

  4. sermonmonster
    Posted 3 years ago #

    I put this in, but all it succeeded in doing is erasing my site text header, leaving me with a blank bar- my site here

  5. mareksgregs
    Posted 3 years ago #

    I see you haven't set width and height for the header yet!
    So start with that and see if it works!

  6. sermonmonster
    Posted 3 years ago #

    How do I set the height and width?

  7. mareksgregs
    Posted 3 years ago #

    The bolded part is where you should change your width and height by writing in the same parameters as your picture!
    Oh and you should also remove "/" at end of your image link!

    <h1 id="logo" role="banner"><img border="0" src="http://www.sermonmonster.com/wp-content/uploads/2012/10/sermonmonsterbanner.png/" width="0" height="0"></h1>

    or you can just replace the above code with this:

    <h1 id="logo" role="banner"><img border="0" src="http://www.sermonmonster.com/wp-content/uploads/2012/10/sermonmonsterbanner.png" width="728" height="90"></h1>

  8. sermonmonster
    Posted 3 years ago #

    thank you. Also, how did you see the exact code that I used? my code is only open to me, the admin, i thought?

  9. sermonmonster
    Posted 3 years ago #


  10. WPyogi
    Forum Moderator
    Posted 3 years ago #

    All code on a website is visible to anyone -- try using view source on your browser. And the php files are available via download of the theme.

    BTW, using all caps is considered yelling and is quite rude. Please don't do it here.

  11. mareksgregs
    Posted 3 years ago #

    Ever heard of Google Chrome?

  12. Swedish_guy
    Posted 3 years ago #

    Hi guys,

    This thread was very helpful for me. I just learned how to change the header text into an image. HOWEVER,

    Looking at your site there: http://www.sermonmonster.com/

    I get very interested to have the same welcome page set up. Anyone that can help out?

    1) I want to control the welcome page (not logged in) just like any page
    2) This page should not be visible later when logged in

    / The swedish guy

  13. Cidade Sonho
    Posted 3 years ago #

  14. mareksgregs
    Posted 3 years ago #

    But will that homepage disappear once logged in?

  15. David Carson
    Theme Author

    Posted 3 years ago #

    @marekgregs. In the example where BuddyPress is locked down and users are forced to register before accessing content (like on the Frisco Demo site at http://friscotheme.com/demo/), new users see the welcome message before registering and logging in. Once logged in, they see whatever you've selected as the homepage in the Reading Settings from the Dashboard.

    You can also make use of the is_user_logged_in function and other conditionals to control who sees what on your own site.


  16. Swedish_guy
    Posted 3 years ago #

    Hey, thanks for the replies. It does not work for me and the main reason is that I have no experience of coding at all really. I know the thinking behind ftp servers and html text etc but not enough I guess. So far I have done<

    * Went to "Frisco Theme Options " activated the custom.css and functions-custom.php

    * Created a file called "functions-custom.php" in my Frisco theme directory. Added this content http://pastebin.com/wss8Fpdn

    * Created a file called "bp-custom.php" in the "buddypress" plugin directory. Added this content http://pastebin.com/rgJ6BQc8

    * Did not succeed to create a custom.css file. I use notepad ++.

    My site is bjudodds.se btw.

    I appreciate all kind of help. I really want to have a welcome page (for non logged in users) looking like this: http://www.sermonmonster.com

    Also, I would like to remove the menu for non logged in users.


  17. deaconpt
    Posted 3 years ago #


    Hope you can help me with this.
    I wanted to have something similar to this (site)

    A banner image, but also the top header with the logo.

    Any idea how can do this?

  18. Andrew Nevins
    Forum moderator
    Posted 3 years ago #

    You can help the theme's author by creating your own thread for your own issues.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic