WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Codium header image makes my BLOG DISAPPEAR! (18 posts)

  1. skyediaz
    Member
    Posted 3 years ago #

    Hi, I'm using Codium Extend 1.0.8 by Henri Labarre theme with WP version 3.1 and noticed that the header image makes my whole blog disappear when I'm logged off of the WP Admin area (except for the background). Why is this??? The image is a jpg and the size is exactly what the theme called for. What do i need to do??

  2. henri
    Member
    Posted 3 years ago #

    Open functions.php and change this :

    // gets included in the site header
    function header_style() {
        if (get_header_image() != ''){
        ?><style type="text/css">
            div#header {
                background: url(<?php header_image(); ?>); height :230px; -moz-border-radius-topleft:6px;border-top-left-radius:6px;-moz-border-radius-topright:6px;border-top-right-radius:6px;
            }
            <?php if ( 'blank' == get_header_textcolor() ) { ?>
    		h1.blogtitle,.description { display: none; }
    		<?php } else { ?>
    		h1.blogtitle a,.description { color:#<?php header_textcolor() ?>; }
        	<?php
    		} ?>
    		</style><?php
    		}
    	}

    And it will work

  3. skyediaz
    Member
    Posted 3 years ago #

    I changed what I had to the above and my whole site just shows this and I can't even get into WP Admin now:

    Parse error: syntax error, unexpected '&' in /home/koonchu/public_html/motherhoodetc.com/wp-content/themes/codium-extend/functions.php on line 20

    I was careful to change the right section. Did you mean replace what I had with what you listed above? That is what I did and now I can't do anything.

  4. henri
    Member
    Posted 3 years ago #

    Use the last build 1.0.9 and if it doesn't work remove all plugins and retry.

  5. skyediaz
    Member
    Posted 3 years ago #

    Thanks Henri... i was using 1.0.9, i had to reinstall the whole thing and start from scratch since i couldn't even log into WP admin, and now it works finally! :) Thanks a bunch, it just sucked i had to rebuild.

  6. isya
    Member
    Posted 3 years ago #

    Hi Henry, how do i get the container to be transparent? I want the white container to be transparent?

    Check out the site http://www.thedankish.com

  7. henri
    Member
    Posted 3 years ago #

    Open style.css and change background color for

    #wrapper
    #container

    use background-color:transparent; instead of background-color:#fff;

  8. isya
    Member
    Posted 3 years ago #

    thanx Henri, would this be under the /* Layout */ css?

  9. henri
    Member
    Posted 3 years ago #

    yes

  10. isya
    Member
    Posted 3 years ago #

    Shot henri, got it right, give thanx man

  11. pofoce
    Member
    Posted 3 years ago #

    I have a problem with codium extended 1.0.9, I can't see the menus or widgets on iphone(4) via safari. I am just trialling templates at the moment, I intend to change it to see others, I would like to use codium as it looks great but won't if I can't get it to work on iphone. I will leave up for a few days so you can see. Thanks -POFO
    Check it at -www.pofocentral.com/stock

  12. henri
    Member
    Posted 3 years ago #

    it's normal it's the mobile view

    to disable it remove in the style.css the lines under /* Mobile and handheld */

  13. pofoce
    Member
    Posted 3 years ago #

    all of them? Just delete?
    Also, I was wanting to put an image into the left hand column at the top, as per the demo page, whats the best way to do this? I can't seem to achieve it with the widgets available... or do I need to customise one? Thanks heaps for the prompt response-

  14. henri
    Member
    Posted 3 years ago #

    Yep delete and try
    For your request try to set an image thumb when you write a post. This function is implement in codium Not in codium extend

  15. Gabriella van Starrenburg
    Member
    Posted 3 years ago #

    Hi Henri,
    I am fairly new to designing a website (two weeks) and I really like the Codium Extend 1.0.9 you made, so I am using it.
    I would like to use my website as a blog and as a website with additional information. I would like that you can only post comments on the blog page (called home).
    How do I change that?
    It would be great if you have time to answer my question!
    Merci beaucoup!

    Gabriƫlla
    leibundspeise.com

  16. sirdavy
    Member
    Posted 3 years ago #

    Hello Henri,

    How do I reduce the height of the header? The default is 980 x 250 but I'd like it to be 980 x 125.

    I've been into (functions.php) and I've changed the "250" here:

    // This theme allows users to set a custom header image
    define('HEADER_TEXTCOLOR', '444');
    define('HEADER_IMAGE_WIDTH', 980); // use width and height appropriate for your theme
    define('HEADER_IMAGE_HEIGHT', 250);

    ...to "125". When I upload and publish a suitable image it looks good on the preview page but on the website the image is doubled with two of the same image stacked on top of one another. What am I doing wrong?

  17. henri
    Member
    Posted 3 years ago #

    Yep normal, still in functions.php go several lines under :

    // gets included in the site header
    function header_style() {
        if (get_header_image() != ''){
        ?><style type="text/css">
            div#header {
                background: url(<?php header_image(); ?>); height :230px; -moz-border-radius-topleft:6px;border-top-left-radius:6px;-moz-border-radius-topright:6px;border-top-right-radius:6px;
            }
            <?php if ( 'blank' == get_header_textcolor() ) { ?>
    		h1.blogtitle,.description { display: none; }
    		<?php } else { ?>
    		h1.blogtitle a,.description { color:#<?php header_textcolor() ?>; }
        	<?php
    		} ?>
    		</style><?php
    		}
    	}

    And change height :230px to 125px

  18. sirdavy
    Member
    Posted 3 years ago #

    Excellent, thank you Henri.

    There was still a bit of a repeat of the image, I needed to knock another 20px off. Changing 230px to 105px worked perfectly. Thans so much for your swift response.

Topic Closed

This topic has been closed to new replies.

About this Topic