• Resolved Moira.Akerman

    (@moiraakerman)


    Hi!

    I´m using the Customizr theme for my website project, and it works well with all browsers except Explorer! The Home page works ok there, but the other tabs doesn´t. There is a big white area before the text, so you have to scroll down a lot, and the text is aligned to the right. The address to my site is: [Redacted for security reasons]

    I´m quite new with wordpress and totally clueless about this. Appreciating any help I can get! Thx in advance!

Viewing 15 replies - 16 through 30 (of 34 total)
  • Yes, there’s a way, but consider that the menu will always become a button with a window width of 979px.
    Try adding this to your child-theme functions.php:

    // header sized to container
    add_action('__header', 'tc_header_container_start', 0);
    function tc_header_container_start(){
        echo '<div class="tc-header-container container">';
    	return;
    }
    add_action('__header', 'tc_header_container_end', 40);
    function tc_header_container_end(){
        echo '</div>';
    	return;
    }

    Hope this helps.

    Thread Starter Moira.Akerman

    (@moiraakerman)

    Every time I try to put something in the php files the whole site goes blank. I edited the file in a text editor and put the code in the end.
    When I move it to the child-theme folder everything just dissapears..

    You have some errors in your child-theme functions.php.
    The best way to discover those is enabling wp debug in wp-config.php:
    http://codex.ww.wp.xz.cn/WP_DEBUG
    If you open wp-config.php you will see this line, somewhere:
    define( 'WP_DEBUG', false );
    change it to
    define( 'WP_DEBUG', true );

    This will ensure you can discover problems also in the future.
    For the current issue can you paste here the whole child-theme functions.php ?
    (Ensure to place it here between backticks (the code button))

    Thread Starter Moira.Akerman

    (@moiraakerman)

    wait, now I got it to work somehow..

    Thread Starter Moira.Akerman

    (@moiraakerman)

    I think it worked! thank you! Now I just need to have the navigation on one row, now the last link falls a bit down..

    Glad you solved.
    Reduce the padding left/right(20px in the default rule below):

    .navbar .nav > li > a {
        font-size: 16px;
        padding: 5px 20px;
    }

    Mind marking as resolved also that other topic?
    Thank you

    Thread Starter Moira.Akerman

    (@moiraakerman)

    That did it! thank you so much!

    🙂

    Thread Starter Moira.Akerman

    (@moiraakerman)

    I noticed something strange, there are three wp-config files in my theme directory,wp-config.php wp-config2.php and wp-config3.php, and my child theme folder is empty. Why? So I have edited the php files from my parent theme directory, (I know that´s not allowed, but I did it anyway) 🙂
    Here is the original wp-config.php:

    You’re sharing private infos like db user password, secure keys.. it’s not a good idea.
    Said so, don’t know what happens, probably is due to your hosting, you should contact them. Anyway just wp-config.php will be loaded, maybe the other two are back-ups.

    Thread Starter Moira.Akerman

    (@moiraakerman)

    Oh, damn, so stupid of me! is there a way to remove the post now?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Please change all of your database credentials now. The post was not only visible to anyone viewing this thread, but has now been potentially cached by search engines.

    Somebody did it for you 😀

    Thread Starter Moira.Akerman

    (@moiraakerman)

    uuuh, thanks…

    Thread Starter Moira.Akerman

    (@moiraakerman)

    Ok, let´s just forget I did that.

    I have just one more question, what is the best way to put different language pages? I have english translations and I want to have pages in finnish and english, so I need to put those flags in the navigation box. I tried many plugins but I can´t get them to work the way I want..

    http://ww.wp.xz.cn/support/topic/multilanguage-site-2?replies=1

Viewing 15 replies - 16 through 30 (of 34 total)

The topic ‘Internet Explorer problem’ is closed to new replies.