Syahir Hakim

Keymaster

Forum Replies Created

  • Admin

    In reply to: Make Slider full width, above nav menu?

    #15809

    Just to get you started:

    #container {
    position: relative;
    }
    #nav {
    position: absolute;
    width: 100%;
    top: 550px;
    }
    .featured_slider {
    margin-bottom: 47px;
    }
    Admin

    In reply to: remove page titles from content area

    #15794

    It’s really difficult to see which elements that need to be hidden when we can’t see the website. Try using Firebug plugin for Firefox to figure it out yourself.

    Admin

    In reply to: How to modify the theme using a child theme

    #10924

    Glad you found it 🙂

    Admin

    Sorry, no way to currently do this. The theme always give preference to featured image first, and then to the other images in the post.

    Admin

    In reply to: remove page titles from content area

    #15792

    Try this:

    .type-page .post-title {
    display: none;
    }
    Admin

    In reply to: remove page titles from content area

    #15790

    Insert this in Graphene Options > Display > Custom CSS:

    .page .post-title {
    display: none;
    }
    Admin

    In reply to: Category Image is cut off

    #15828

    If there is no featured image selected, it’ll display the first image uploaded for that post, even if that image is not inserted into the post.

    Admin

    In reply to: How to change 'follow me' text on Twitter widget

    #15878

    Scrap my suggestion above. Here’s a (much) better way. Throw this code into your child theme’s functions.php file:

    function graphene_filter_gettext( $translated, $original, $domain ) {
    $strings = array(
    'Follow me on Twitter' => 'Follow my organisation on Twitter',
    );
    if ( ! empty( $strings[$original] ) ) {
    $translations = &get_translations_for_domain( $domain );
    $translated = $translations->translate( $strings[$original] );
    }
    return $translated;
    }
    add_filter( 'gettext', 'graphene_filter_gettext', 10, 3 );

    Obviously, change the following line to reflect your organisation’s name or initial:

    'Follow me on Twitter' => 'Follow my organisation on Twitter',
    Admin

    In reply to: How to change 'follow me' text on Twitter widget

    #15877

    Editing the theme’s functions.php file directly is bad. Don’t do it.

    Doing this in a child theme will require creating a new functions.php file, and then copying the entire code block that defines the Twitter widget from the theme’s functions.php file into the child theme’s functions.php file, and then make the edit in the child theme’s funcitons.php file. This is not as bad as editing the theme’s original functions.php file, but it’s still bad, because you will miss out on any improvements on the Twitter widget in future updates.

    The third option would be to use the Codestyling Localization plugin, which will allow you to modify the theme’s strings without actually touching any of the theme’s codes.

    Admin

    In reply to: Paragraph tags not being added to Posts

    #15852

    Did this happen from the beginning, or just recently?

Viewing 10 posts - 4,501 through 4,510 (of 6,030 total)