• Resolved mbdk

    (@mbdk)


    Hi guys,

    At work we’re redoing our intranet and we chose Twenty Seventeen.

    I have created a child theme following the instructions at https://developer.www.ads-software.com/themes/advanced-topics/child-themes/ – so far so good. But some of the modifications that I made aren’t executing.

    (1) I have a <ul> with some links. For some reason, even tho the style.css has no text-decoration: underline; the links are still underlined. I have used the Inspect Element tool of my browser and changed the color of the links, and added text-decoration: none !important; but there is a line coming from somewhere, just can’t find where. I’m using the theme’s original style.css only modifying some things here and there.

    (2) I want to change some texts in some PHP files (translate from English into Danish without using any plugin). I have copied pasted those files in the child theme’s folder in the same paths as the parent theme, but for some reason if I don’t change those same lines on the parent theme, the changes don’t happen. An example is on index.php, the following line:

    <h2 class="page-title"><?php _e( 'Posts', 'twentyseventeen' ); ?></h2>

    Instead of “Posts” I have another word.

    The same issue happens with the files:

    • inc > template-tags.php
    • template-parts > page > content-front-page.php
    • template-parts > post > content.php

    How do I solve these issues?

    Thanks in advance.

Viewing 3 replies - 16 through 18 (of 18 total)
Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘Problems with modifying child theme’ is closed to new replies.