Difference between logo and header (10 posts)

  1. JohnAKeith
    Posted 3 years ago #

    I'm so confused.

    There is a page in Admin to Upload a Custom Header. Image size is 520x155 pixels.

    But then on the WP-Creativix options page, you can upload a custom logo, whose size is ~230 pixels wide.

    What's the difference? Can you have both a custom header and a custom logo? Is the header supposed to show up between the social media and the logo / navigation?

    My logo shows up (very small, of course) but cannot seem to get a custom header (or, the default one ...).

    Is the custom header functionality still active? Did I delete some code by mistake? Where is the custom header defined?

    My site is http://johnakeithrealestate.com

    Thank you!


  2. judetheobscure
    Posted 3 years ago #

    Your site looks great. Did you do that with custom header in the end (and just left custom logo blank)?

    I don't suppose you could tell me how you got the static text and the twitter feed in your columns below?

  3. JohnAKeith
    Posted 3 years ago #

    Hi. When I do coding, I usually just do a lot of trial and error, so how I end up doing things is quickly forgotten, unfortunately.

    I seem to remember deleting out the left logo code in the header.php file. The custom header I created by adding a line of code in the header.php file and then putting in one line in the style.php file. The "custom header" page in the theme editor doesn't work apparently, so you have to change the code.

    The static text in the lower left is the result of adding a snippet of code to the index.php that made it one specific post. It's a "sticky" post, meaning I designated it as such when I wrote the post, originally.

    The same is true for the twitter feed - it's a snippet I added to the index.php file.

    Remember: make sure you have a copy of the original theme .php files before you go in there to modify the code. It's a nightmare to have to try to go back to the beginning if you can't remember what it looked like.

    The snippet from the index.php code is below. Right above this, there's a section of the .php file that you need to comment out.

    Right below here, comment out:

    [96 lines of code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

  4. judetheobscure
    Posted 3 years ago #

    Thanks for your speedy reply :)

    I saw another thread about custom headers with the code so I'll have a look at that.

    I've managed the static text :) Thanks for that tip (I feel such a newbie at times!)

    Unfortunately the code you pasted for the twitter feed has been moderated out - would you be able to put it in their pastebin?

  5. JohnAKeith
    Posted 3 years ago #

    Here's the code to get the header image to show up. You can either take out the left-side logo code or just comment it out.

    This is also code to add three columns at the bottom of the page - the first has a welcome post. I created a new post and made it a "sticky" post, so it always stays in that column. Alternately, of course, you can just type in the paragraphs in the index.php file. The second column is a "recent posts" list. The code below has it set up to list the most recent seven posts (plus the only "sticky" post I've written). The third column is a Twitter widget that shows updates on Twitter for certain terms - in my case, "boston condos" or something similar. Go to the Twitter developer site to get the widget.

    link to pastebin

  6. Lois_D
    Posted 3 years ago #

    Hiya, I'm reading through as I would like to add a blog image/logo to my site like http://johnakeithrealestate.com has done.

    My site is http://loisdalphinis.com

    I've added a logo via the Creativix options and just added a header but no joy as yet. Can anyone help out?

  7. Michael
    Part-Time Forum Moderator
    Posted 3 years ago #

  8. Lois_D
    Posted 3 years ago #

    Thanks for the reply...I kinda meant the icon that shows up in the tab before the name of your site...

  9. Michael
    Part-Time Forum Moderator
    Posted 3 years ago #

  10. Lois_D
    Posted 2 years ago #

    ..Favicon..right, (:


Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic