Troubles with Child Theme

Discussion in 'SaleJunction E-Commerce WordPress Theme' started by ronnies, Jan 18, 2015.

Thread Status:
Not open for further replies.
  1. ronnies

    ronnies Member

    Joined:
    Jan 13, 2015
    Messages:
    63
    Likes Received:
    1
    Hi!

    Thank you for a great theme. I seem to have a problem with the child theme I created for it. The site seems great on all browsers except for IE, which looks absolutely terrible.
    Once I switch to the original Parent Theme, it works great.

    This is the link: http://ronnies-linux.evh732.evhost.co.il/

    I've enclosed (as txt files) the style.css & functions.php files I've used. What am I missing?
    I don't want to use the Parent Theme as I want to be able to update it in the future.

    ******

    And another question - I want to translate the "More items" title on the home page, under the products shown.
    I've changed it on the lib/shop_loop.php file (under the child theme of course) but it still shows the original. How do I change that?
     

    Attached Files:

  2. ronnies

    ronnies Member

    Joined:
    Jan 13, 2015
    Messages:
    63
    Likes Received:
    1
  3. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello !

    Unfortunately Child theme style does not supported correctly by earlier versions of IE browsers.
    You can change the text "More items" form ../lib/shop_loop.php on line number 116 and 243.

    For Sign in page text you can change from
    ../functions/login.php

    For registration page text you can change from
    ../functions/registration.php


    Thanks & Regards
    Pramod
     
  4. ronnies

    ronnies Member

    Joined:
    Jan 13, 2015
    Messages:
    63
    Likes Received:
    1
    Hi Pramod!

    Thank you so much for your help. I believe I'll have to stay with the Parent Theme then...
    Seeing as I need to translate the original files, what do you suggest that I do with the css file? Edit the original or add custom.rss or rtl.css? (Seeing as the site is in Hebrew and therefore, RTL).

    Thanks a lot!
     
  5. ronnies

    ronnies Member

    Joined:
    Jan 13, 2015
    Messages:
    63
    Likes Received:
    1
    Hi Pramod,
    I figured out what's wrong - it's the encoding of the files. I need to change the titles to Hebrew but once I switch the files to UTF-8 encoding, it messes up the site. But, when I leave the UNICODE, the Hebrew shows as squares.
    What do I do? :(
     
  6. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
  7. ronnies

    ronnies Member

    Joined:
    Jan 13, 2015
    Messages:
    63
    Likes Received:
    1
    Hi Pramod :)

    I tried UTF-8 - I added:

    Code:
    <meta charset="utf-8">
    under the "head" tag on header.php - but when I save the PHP file itself as UTF-8 encoded, the whole thing is messed up again. If I don't save it that way, the Hebrew won't show up.

    Thank you for your help!
     
  8. ronnies

    ronnies Member

    Joined:
    Jan 13, 2015
    Messages:
    63
    Likes Received:
    1
    Okaaaaaaaaaaaaaaay I've found the solution!
    Turns out there's another encoding called "UTF-8 without BOM" - I don't know what that is, but it works!! Yay :D

    Thanks a lot!
    One more question though - the "PassWord recovery" page - which file do I need to edit?
     
  9. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello !

    You can find that in
    ../functions/custom_functions.php on line no 203

    Thanks & Regards
    Pramod
     
  10. ronnies

    ronnies Member

    Joined:
    Jan 13, 2015
    Messages:
    63
    Likes Received:
    1
    Thanks again Pramod, you're been very helpful!
     
    Pramod likes this.
Thread Status:
Not open for further replies.

Share This Page