Lole
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Corpo] Problems with the sliderI’ve checked the size of the pictures, and it seems ok.
No, never cleared up cache. How do I do that?Forum: Themes and Templates
In reply to: [Corpo] Problems with the sliderBump
Forum: Plugins
In reply to: [Contact Form 7] "Send a copy to my email"-option/checkboxCould you give me the code for this, so I could just paste it in somewhere? Is that possible?
Another thing; how do I change the font in the email I receive from the contact form?
Forum: Themes and Templates
In reply to: [Corpo] Using Google Language Translator with CorpoNow, I fixed it!
I’ve modifyed this code:
/* =Theme customization starts here*/ #top-bar { overflow: hidden; margin-bottom: -85px; } #top-bar div { line-height: 34px; }But I still have the problem with my header.php. If I want to do changes now, I have to make a new header.php document, paste the code you gave me and then do changes.. How can I fix that? Has it something to do with same names (header.php) in both Corpo theme and the child theme?
Forum: Themes and Templates
In reply to: [Corpo] Using Google Language Translator with CorpoYes, thank you! I fixed it to the left.
I just tested somethings to try to fix the height.. What am I supposed to put in after “Theme customization starts here”?And another thing.. When I try to open the header.php again, it just showing the old code: `class=”no-js”> >
‘main-menu’, ‘container’ => false, ‘menu_class’ => ‘menu’, ‘menu_id’ => ‘main-menu’, ‘echo’ => true, ‘fallback_cb’ => ‘wp_page_menu’, ‘before’ => ”, ‘after’ => ”, ‘link_before’ => ”, ‘link_after’ => ”, ‘depth’ => 0, ‘walker’ => ” )); }else { ?>`
So I have to copy your code again and then modify it… What do I have to do to fix this?
I appreciate your help so much!
Forum: Themes and Templates
In reply to: [Corpo] Using Google Language Translator with CorpoThank you so much! It worked out! But I’ll rather place the translator in the left corner. And it is a small problem, because the white header line has been too height. I want the same height as before.
Forum: Themes and Templates
In reply to: [Corpo] Using Google Language Translator with CorpoYes, that is what I tried to describe in my last post. I have one style.css and one header.php I tried to modify.
I want to put in this code:
<?php echo do_shortcode('[google-translator]'); ?>Forum: Themes and Templates
In reply to: [Corpo] Using Google Language Translator with CorpoWhat do you mean with copying the entire header.php file in my child theme? Sorry I’m stupid about this, but this is new to me.
I want to show the translator up in the right in the white header.
Forum: Themes and Templates
In reply to: [Corpo] Using Google Language Translator with CorpoThe header.php file is the same as I posted over:
class="no-js"> > 'main-menu', 'container' => false, 'menu_class' => 'menu', 'menu_id' => 'main-menu', 'echo' => true, 'fallback_cb' => 'wp_page_menu', 'before' => '', 'after' => '', 'link_before' => '', 'link_after' => '', 'depth' => 0, 'walker' => '' )); }else { ?>My website is: http://www.nils-hytter.no
Forum: Themes and Templates
In reply to: [Corpo] Using Google Language Translator with CorpoNow I have tested a little bit. I’ve copied the header.php to my child theme folder. Now there are style.css and header.php in my child theme folder.
But I don’t know how to edit the header.php? I have this code in my header.php:
class="no-js"> > 'main-menu', 'container' => false, 'menu_class' => 'menu', 'menu_id' => 'main-menu', 'echo' => true, 'fallback_cb' => 'wp_page_menu', 'before' => '', 'after' => '', 'link_before' => '', 'link_after' => '', 'depth' => 0, 'walker' => '' )); }else { ?>And I want to insert this code:
<?php echo do_shortcode('[google-translator]'); ?>I tried to insert the google code in the large space in header.php. And on my website, the translator was sucessfully added to the right top! But now, the site had nothing css… So it was just text and pictures below each other…
What am I doing wrong here?
Forum: Themes and Templates
In reply to: [Corpo] Using Google Language Translator with CorpoOh, thank you so much!!! The quote marks seems to be similiar, but it wasn’t.. Thank you, I’ve tried to solve this problem in lots of hours now…
And now I have to activate this theme and doing changes with this theme?
I’ll try to make some changes with header.php, but not sure what changes…
Forum: Themes and Templates
In reply to: [Corpo] Using Google Language Translator with CorpoOkay, thanks,
I’ve some problems with making a child theme.. I know this isn’t the right place to ask about, but I’ll still try.I’ve tried One Click Child theme plugin, but this broke my whole site, so that was no success. I tried to do it manually: I’ve created a folder in “themes”-folder called “corpo-child”. Then I’ve created a .css document like this:
/* Theme Name: Corpo Child Theme URI: http://nils-hytter.no Description: This is a custom child theme I have created. Author: Lole Author URI: http://nils-hytter.no Template: corpo Version: 1.0.0 */ @import url (‘../corpo/style.css’); /* =Theme customization starts here -------------------------------------------------------------- */Thought everything should be okay, but the site is loading no css when I click on “live preview”. Whats the problem here?
Now to the header.php. I guess it is in ../themes/corpo/header.php? In this file, there’s just a few lines? Where am I supposed to do the changes to get the translator in the top, where “call us” are?