WordPress.org

Support

Support » Themes and Templates » [Theme: Mantra] Some help needed for simple edits

[Theme: Mantra] Some help needed for simple edits

Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator Andrew Nevins

    @anevins

    Forum moderator

    Changes to theme files will erase upon theme update.
    You should create a Child Theme. Have you a Child Theme?

    I can create one easily. But still need help with the changes 🙂

    Moderator Andrew Nevins

    @anevins

    Forum moderator

    Second I`m haveing some problems with the post titles as they are very close to the post meta both on the first page and when displaying a single post.

    May you link your website or link Pastebin.com of your HTML and CSS code?

    Moderator Andrew Nevins

    @anevins

    Forum moderator

    ❝ Second I`m haveing some problems with the post titles as they are very close to the post meta both on the first page and when displaying a single post. ❞
    You could add this into your Child Theme stylesheet;

    #content h1.entry-title {
     margin-bottom: 10px;
    }

    Adjust the value, 10px to your desire.

    Thank you! Works great!
    1 out of 3 already 🙂
    Still searching for a way to edit the text in the comment form 🙂

    Just change language files – DL mantra.po from language folder (/wp-content/themes/mantra/languages) and use poedit to change *by*. Save and upload both .mo and .po file you now got.

    Comment change: If you use built in comment you change languagefile there too (/wp-content/languages)

    PS: this changes will be owerwritten when update of WP and theme

    You can edit Comment Form in wp-includes/comment_template.php
    Function comment_form( $args = array(), $post_id = null )

    Change parameter value of ‘title_reply’ on $defaults=array :

    ‘title_reply’ => __( ‘Leave a Reply’ ),

    On the same function, you can change the prompts for name, email and website by changing parameters ‘author’ , ’email’ and ‘url’ in:

    $fields = array

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Theme: Mantra] Some help needed for simple edits’ is closed to new replies.