jrothra

Member

Forum Replies Created

  • In reply to: Where in CSS is h2 for body content?

    #33040

    Josh,

    That did it! Perfect, thank you! 😀

    In reply to: Image in Body, Featured Image, Slider Relationship

    #33213

    I posted in general because it’s not a “how do you do this” support question, but a question of curiosity.

    Since you moved it, though, do you have an answer?

    In reply to: Where in CSS is h2 for body content?

    #33038

    Just to test if the font was already bold (hence no change), I manually added <strong> . . . </strong> around the h2. Here’s the difference:

    H2-Issues.jpg

    I want the entire site to make all h2’s in the body (not comments or elsewhere) bold like that without me having to manually do it each time.

    In reply to: Where in CSS is h2 for body content?

    #33037

    The only theme files I edit are those for the child theme. Sometimes the custom CSS section doesn’t do it, hence the child theme’s stylesheet. Besides, I was looking in the main theme’s CSS to see which element I needed to edit in the custom CSS section.

    I added this to the custom CSS and it made no difference in the H2’s in the main body:

    .content-main h2 {
    font-weight:bold;
    }

    From what I can tell, the text isn’t bold, unless the standard weight version is razor thin (which I doubt).

    In reply to: Image won't align center

    #33059

    I mis-measured the space. I had the image too large. Fixed now.

    In reply to: Header Error in Dashboard regarding Options.php File

    #32949

    I ended up having to do a full re-install of the database anyway. When I did that then put Graphene in there with the plugins, this issue never returned. Not sure what the problem was, but I’m glad it’s not there any longer.

    In reply to: Header Error in Dashboard regarding Options.php File

    #32947

    Prasanna,

    I didn’t copy the parent’s whole functions.php. What I copied is the child’s functions used in my personal site to start with, and planned to tweak it as needed. This can be confusing, so I’ll try to clarify.

    Personal site: jrothraministries.com

    Newly built site: jrothraministries.com/fbcfloralcity

    The new site is on it’s own WordPress installation and database – it’s merely in a subdirectory of my personal site so I can design it before placing it on the new server at fbcfloralcity.org.

    To keep things as simple for me as can make them, I copied the content of my personal site’s child theme’s CSS and functions.php. Here’s the content of the functions.php in the new site:

    <?php
    function graphene_filter_gettext( $translated, $original, $domain ) {
    $strings = array(
    'Follow me on Twitter' => 'Follow John 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 );

    function graphene_custom_generic_img(){
    return '<img alt="" src="'.get_stylesheet_directory_uri().'/images/NewLogoJRM-150w150h.png" />';
    }
    add_filter( 'graphene_generic_slider_img', 'graphene_custom_generic_img' );

    function graphene_custom_content_related_posts_slider(){
    if( function_exists('get_related_posts_slider') && is_singular() ){
    get_related_posts_slider();
    }
    }
    add_action( 'graphene_after_post_content', 'graphene_custom_content_related_posts_slider' );

    ?>

    In reply to: Header Error in Dashboard regarding Options.php File

    #32945

    Kenneth,

    The forum location error was an oversight on my part.

    On the Google search — I skipped that and searched only the forums here (Google results can be so confusing and sometimes not very helpful).

    I didn’t notice any spaces in the functions that weren’t in the one I used for my personal site. The content of the two are exactly identical – absolutely no difference in what the functions.php file contains, but the error occurs only with the fbcfloralcity version.

    In reply to: Header Moves, Title Color Changes in 1.7.1

    #28736

    @Syahir – that did the trick! Perfecto!

    In reply to: Header Moves, Title Color Changes in 1.7.1

    #28733

    @Kenneth — As mentioned in my previous post, I tried clearing the cache on the browser. I tried the same for the server, but it didn’t fix it. It’s not a cache problem.

Viewing 10 posts - 11 through 20 (of 57 total)