Changes in child theme not visible

Discussion in 'Local Business WordPress Theme' started by cgmx, May 23, 2013.

  1. cgmx

    cgmx New Member

    Joined:
    May 13, 2013
    Messages:
    4
    Likes Received:
    0
    Hi,

    I copied the template contact.php file from my mother theme into my child themes editor (style.css), made changes on that and updated. But after a refresh no changes are visible. What went wrong? What can I do?
    I made a change in the following line in order to change "Your Name:" into my language:
    <label for="contactName">Ditt namn:<span class="required"></span></label>

    And the link: http://www.lehrer.se/kontakta-mig-2/

    Also I got this "-2" at the end of my link after deleting the original template (I thought that would help).
    How do I get rid of "-2"?
    Thanks a lot.
    /Christopher
     
  2. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Hello,
    For the contact page issue,
    Remove all the code that you have pasted for the contact page, from the style.css file of child Theme.
    Copy the template-contact.php file from the main Theme (parent Theme) and paste it in the Child theme directory and then edit it as per your requirement.

    For the "-2" issue at the end of the link,
    Go to the Trash section (Pages -> All Pages -> Trash) and delete the previous contact page permanently from your dashboard.
    [​IMG]

    And Then, Go to the latest created Contact page (Pages -> All Pages -> Contact page) in your dashboard and edit the permalink by removing "-2" from there and Then save it. This will solve your issue.
     
  3. cgmx

    cgmx New Member

    Joined:
    May 13, 2013
    Messages:
    4
    Likes Received:
    0
    Thanks Piyush. When I tried to follow your steps I did something stupid from the start: I deleted the whole style CSS file of child theme with the result that the child theme is destroyed. So I tried to uppload a new child theme from my desktop but it won´t uppload as it should. Why doesn´t it install properly?/Christopher
     
  4. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Hello,
    Try to delete the previous child Theme from the dashboard or if you are not able to delete it from dashboard then try to delete the previous child Theme from the FTP and Then Install the fresh copy of Child Theme in your dashboard. You can install your new child theme or you can download the fresh copy of the Child Theme from the attachment and then install it in your dashboard.
    This will solve your issue.
     

    Attached Files:

Share This Page