size buttons & translation

Mauer Themes Support Essentialist size buttons & translation

Tagged: 

This topic contains 3 replies, has 2 voices, and was last updated by  Paul 1 year, 9 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1202

    cali75
    Participant

    Hello,

    1. I’m trying to make the buttons smaller, this is the code I’m using:

    solid-button-link {
    display: inline-flex !important;
    padding: 1rem 2.2rem 1rem 2.2rem !important;
    }

    2. Also, to translate some of the words of the theme like “read more” or “older posts” do you advice a specific plugin?
    I have a WPML license but I think it’s too big for the few words that have to be translated.

    Hope you can help me.
    Thanks, best regards.
    c

    #1217

    Paul
    Keymaster

    Cali75,

    1.
    I guess you primarily target the button that is displayed under ther posts feed on archive pages. As it’s the only button that’s being stretched to a certain width.

    To not having it stretched, please use the following code:

    .mauer-pagination {text-align: center;}
    
    .solid-button-link {
    	padding-top: 1.3rem;
    	padding-bottom: 1.1rem;
    	padding-left: 3.7rem;
    	padding-right: 3.5rem;
    }

    I’d recommend the above mentioned padding values. If you decide to change them, please make sure to keep the padding-top 0.2 greater than padding-bottom, and padding-left 0.2 greater than padding-right. This will help keep the text visually centered.

    2.
    Speaking about translating static phrases like “read more” or “older posts”,

    This theme is translation-ready in a regular WordPress fashion. That means it comes with a language file which has all the default texts.

    That said, I believe the easiest way of translating a theme is by using the Loco Translate plugin.

    After you install and activate it, in your Admin Panel please go to ‘Loco Translate’ > ‘Themes’ > ‘Mauer Essentialist’ and click ‘New Language’.

    Select your language (in this example it’s ‘Portuguese’). And click ‘Start translating’:

    You will see a list of all the strings ready to be translated. Here is how it looks:

    When you’re done translating, click ‘Save’ and ‘Sync’.

    Now if you have your WordPress language set to Portuguese*, then your website will display the translated strings.

    _______
    
* — ‘Settings’ > ‘General’ > ‘Site language’ (at the bottom).

    Regards,
    Paul

    #1228

    cali75
    Participant

    OK thanks for the advice of the button.

    About language, if the theme has default texts in spanish, why are some things still in english when the language set is spanish?

    thanks again,
    c

    pd. I put my rate again on themeforest.

    #1233

    Paul
    Keymaster

    Cali75,

    The theme’s default language is English, and the theme does not have Spanish translation provided. What the theme has is a file that makes translation possible — e.g. with the Loco Translate plugin.

    So, in a word, this theme does not come translated to Spanish, it comes translation-ready.

    Thanks for having rated the theme. I really appreciate that.

    Paul

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.