• Hi.

    I just have some small issues left with the theme. There is a thin grey line under my header logo and when I look closely it’s a border around the entire wrapper (I think that’s what it’s called). I can’t see where I can make it go away. I use the “boxed layout”.

    And I wonder what is wrong when I change the “you may also like…” and “Previous Story/Next Story” to Swedish in the .php-files but it will not overwrite the original themes .php-files.

    Any tips?

    You can look at my test site here to se what I mean with the thin grey line.
    http://magasin.fransotttillsalt.se
    Love the theme. 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi Ulmavi

    For the first question please try:

    #nav-header.nav-container {
    -webkit-box-shadow: none;
    box-shadow: none;
    }

    For the second question – don’t edit the theme files directly. You should look at creating a child_theme

    Thread Starter ulricakrii

    (@ulmavi)

    Thanks! It worked. 🙂

    When it comes to the php-files I copied them and put them in my child theme folder. But they don’t work. I have changed other php-files that I put in the child theme folder and they work as they should, but this one don’t.

    Any ideas?

    editing [child_theme]/inc/post-nav.php works for me. Is that the one you edited?

    Thread Starter ulricakrii

    (@ulmavi)

    Yes. I took the inc/post-nav.php-file and copied it in to my child theme folder. Changed the text I wanted to change into Swedish. That’s how you change .php-files in your CHild theme right? All of the text is copied and not just the changes. Is that the problem? The same text is in two .php-files?

    Sorry for all my questions but I work with the “learning by doing” technique. 🙂

    Yes you copy the entire file and edit / remove or add code accordingly. Did you maintain the directory structure?

    Thread Starter ulricakrii

    (@ulmavi)

    Yes. I just changed the text from english to swedish. Very strange. 🙁 I’ll look it over one more time.

    Hej Ulmavi! Snyggt jobbat med sidan 🙂 Ser gott ut!

    The right way to change language of the theme is to do like this:

    1. Create a child theme. In functions.php of the child theme, copy over this whole section from the parent theme’s functions.php

    function alx_load() {
    - lots of code here -
    }

    Over to the child theme. Then, you want to load the language file from the child theme instead of the parent theme, so you change this line in the function you just pasted:

    load_theme_textdomain( 'hueman', get_template_directory().'/languages' );

    To this:

    load_theme_textdomain( 'hueman', get_stylesheet_directory().'/languages' );

    Now the the language is loaded from the child theme’s /languages/ folder instead, where you can add your sv_SE.po file.

    To translate the theme, use the en_US.po file as base from the parent theme. It exists in the /languages/ folder.

    Here is a guide how to translate a theme. Here you download the translation program, PoEdit.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘A thin line under my header image’ is closed to new replies.