• I don’t use linkedin much so i changed that link from linkedin to instagram. To change the icon I had to edit the header.php file, but ofcourse everytime I update it goes back to linkedin.

    Is there anyway to change just a single line out of the header (or any) file by using the child theme… or any other way to solve this problem? Please help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • When you create your child theme, and you add the style.css your folder in your Site CP, you need to also import the header.php. If you have done so and it still defaults to the original theme where the Parent theme is overriding the Child theme there may be another issue in your child theme present.

    Thread Starter pjbrodber

    (@pjbrodber)

    Thanks tashmeyer but i dont understand.

    How do I import the header.php?

    Copy the parent header.php file into a plain text editor on your machine. Add your modifications and then save the file. Upload it to the child theme using FTP (or whatever file management application your host provides).

    You need access to your Control Panel ??

    FTP is needed to copy and paste the Files.

    Thread Starter pjbrodber

    (@pjbrodber)

    Ok, if I do that and then update the theme, will the updates apply?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Editing just one line in a (child) theme’ is closed to new replies.