How to change "READ MORE" caption ?

Discussion in 'Dzonia WordPress Theme' started by nazimyenier, Aug 27, 2015.

  1. nazimyenier

    nazimyenier New Member

    Joined:
    Aug 20, 2013
    Messages:
    4
    Likes Received:
    0
    Location:
    Brest - FRANCE
    Hi,

    I have been using Dzonia them since 2 years now. My web site URL is www.salsa-brest.fr

    I would like to change the READ MORE captions on the front page to their french equivalent (EN SAVOIR PLUS).

    I edited front-page.php for it and it works, with a slight problem :
    The arrow image appears now in the middle of the caption since EN SAVOIR PLUS is longer than READ MORE.

    You may see the problem on the pic uploaded.
    Capture d’écran 2015-08-27 à 17.42.23.png



    How to do ?
     
  2. nitin

    nitin Guest

    Hi,

    Greetings from InkThemes,

    It would be our pleasure to serve you.

    Please follow the screenshot given below.
    Dzonia_replace_readmore.png

    Note:- Replace the 'READ MORE' text with your desired text.

    For your information, I am using "WP-Editor" plugin to edit files.

    You can also download and use it from the link https://wordpress.org/plugins/wp-editor/.

    After activating this plugin, you will get the same screen as shown in the screenshot.
    Hope it will resolve your issue
    Thanks & Regards!
    Nitin
    InkThemes.com
     
  3. nazimyenier

    nazimyenier New Member

    Joined:
    Aug 20, 2013
    Messages:
    4
    Likes Received:
    0
    Location:
    Brest - FRANCE
    Hi Nitin,

    Thanks for your response but this does not resolve my problem. As I explained in my first post, I know how to change READ MORE text from front-page.php and it works.

    But if the new caption is longer than READ MORE, the arrow image appears in the middle of it.

    How can I place this arrow image correctly at the very end of the caption ?

    Please see image :

    Capture d’écran 2015-08-27 à 17.42.23.png
     
  4. praveen

    praveen Support Staff

    Joined:
    Jan 1, 2015
    Messages:
    2,344
    Likes Received:
    67
    Hi,

    Please paste the code given below in Custom CSS section
    (Appearance -> Theme Options -> Styling Options -> Custom CSS) of your dashboard.
    Code:
    .featured_content .column-three .inner_area .read_more {
        background-position-x: 50%;
    }
    Note: - Please increase/decrease the value according to your requirement.

    Regards!
    Praveen
    InkThemes.com
     
  5. nazimyenier

    nazimyenier New Member

    Joined:
    Aug 20, 2013
    Messages:
    4
    Likes Received:
    0
    Location:
    Brest - FRANCE
    Now, this works !

    Thanks a lot.
     
  6. nazimyenier

    nazimyenier New Member

    Joined:
    Aug 20, 2013
    Messages:
    4
    Likes Received:
    0
    Location:
    Brest - FRANCE
    I declared victory too early.

    Actually, the problem stays the same on Mozilla Firefox (up to date) :(
    Strangely, it has been resolved for Chrome and Safari.
     
  7. praveen

    praveen Support Staff

    Joined:
    Jan 1, 2015
    Messages:
    2,344
    Likes Received:
    67
    Hi,

    Replace the earlier provided code with the CSS code given below.
    Code:
     .featured_content .column-three .inner_area .read_more {
        background: transparent url("wp-content/themes/dzoniatheme/css/colors/images/next-orange.png") no-repeat scroll 45% 4px;
    }
    Hope it will resolve your issue :)

    Regards!
    Praveen
    InkThemes.com
     

Share This Page