• Resolved saleshigher

    (@saleshigher)


    Hi,

    For some reason I couldn’t edit the CALL TO ACTION button text using the tool provided. I decided to put the front-page.php file into my shell-lite-child directory and just edit the button text directly on the php file.

    I’ve created the php file in the shell-lite-child directory, but I’m having trouble linking the files. Is this correct:

    ?>
    <?php get_header(); ?>
    @import url(“../shell-lite/front-page.php”);

    Thanks for any suggestions!

    Edit ~ since posting this I’ve discovered that php links differently than CSS. Also, I was able to get the provided tool working again. Problem resolved!

Viewing 1 replies (of 1 total)
  • When you create child theme you should have style.css file where you import style from Parent theme.
    If you want to replace another file, you should copy original file and paste into child theme directory. There you can make any changes and they should working properly.

    If you resolved your problem, please mark the post as resolved.

    Regards,
    Stanko

Viewing 1 replies (of 1 total)
  • The topic ‘Linking PHP child page’ is closed to new replies.