WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. mareksgregs
    Member
    Posted 1 year ago #

    Hi,

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

    http://wordpress.org/extend/themes/frisco-for-buddypress/

  2. Cidade Sonho
    Member
    Posted 1 year 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>

    Ok?

  3. mareksgregs
    Member
    Posted 1 year ago #

    Thanks bud! Works great.

  4. sermonmonster
    Member
    Posted 1 year 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
    http://www.sermonmonster.com

  5. mareksgregs
    Member
    Posted 1 year 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
    Member
    Posted 1 year ago #

    How do I set the height and width?

  7. mareksgregs
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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
    Member
    Posted 1 year ago #

    HOW DID YOU SEE THE CODE I USED????

  10. WPyogi
    Volunteer Moderator
    Posted 1 year 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
    Member
    Posted 1 year ago #

    Ever heard of Google Chrome?

  12. Swedish_guy
    Member
    Posted 1 year 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
    Member
    Posted 1 year ago #

  14. mareksgregs
    Member
    Posted 1 year ago #

    But will that homepage disappear once logged in?

  15. David Carson
    Member
    Theme Author

    Posted 1 year 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.

    http://codex.wordpress.org/Function_Reference/is_user_logged_in
    http://codex.wordpress.org/Conditional_Tags

  16. Swedish_guy
    Member
    Posted 1 year 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.

    Thanks,

  17. deaconpt
    Member
    Posted 1 year ago #

    Hello,

    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?
    Thanks

  18. Andrew Nevins
    Spam zapper & Volunteer Moderator
    Posted 1 year 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