Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter sebasjapes

    (@sebasjapes)

    perfect!
    cheers

    Forum: Fixing WordPress
    In reply to: rounding corners
    Thread Starter sebasjapes

    (@sebasjapes)

    Steve. I got it working thanks.

    for anyone else this is the code I used.

    img{border:1px solid #;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    }

    Forum: Fixing WordPress
    In reply to: rounding corners
    Thread Starter sebasjapes

    (@sebasjapes)

    gourmetparent.com

    not one particular page, looking to change every image.
    I might want to keep the front page main image with sharp corners.

    Thread Starter sebasjapes

    (@sebasjapes)

    THANKS!
    I misunderstood, thought it was supposed to be inside comment marks

    Thread Starter sebasjapes

    (@sebasjapes)

    hi Jarek,

    no luck there.
    I copied and pasted so I’m sure its written out correctly.
    I am posting in the ‘Customizing
    Additional CSS’ for Kale, but no change.

    If you check, gourmetparent.com. I want to match the ‘welcome’ on the header photo to the font used for ‘Kid approved recipes and….’

    Is there something else I’m missing?

    Thread Starter sebasjapes

    (@sebasjapes)

    Thanks guys, I went with the plugin and fixed it.
    One more request though. I want to change the font in the ‘caption heading’ on the ‘header image’
    I tried the code Jarektheme suggested in another post.

    .logo .header-logo-text {
    Font-family: caveat;
    Font-size: 26px;
    }

    But no luck. I think I may be changing the wrong location (‘logo’ may be wrong) and therefore wrong font.

    Thread Starter sebasjapes

    (@sebasjapes)

    Michael,

    Forget my first reply I managed to figure out my other problem.

    could you help with excluding a category from my front page?
    I tried this code in the theme custom css but no luck.
    I’m copying and pasting with little understanding though. Could you give me a little explanation with it?

    I really appreciate the help.

    function exclude_category( $query ) {
    if ( $query->is_frontpage() && $query->is_main_query() ) {
    $query->set( ‘cat’, ‘-nutrition&exercise’ );
    }
    }
    add_action( ‘pre_get_posts’,function exclude_category( $query ) {
    if ( $query->is_frontpage() && $query->is_main_query() ) {
    $query->set( ‘cat’, ‘-nutrition&exercise’ );
    }
    }
    add_action( ‘pre_get_posts’,function exclude_category( $query ) {
    if ( $query->is_frontpage() && $query->is_main_query() ) {
    $query->set( ‘cat’, ‘-nutrition&exercise’ );
    }
    }
    add_action( ‘pre_get_posts’, ‘exclude_category’ );

    Thread Starter sebasjapes

    (@sebasjapes)

    thanks Michael
    checked out the links, working on the second one but having problems.
    Can you give more instructions for a beginner.

    I added this to the additional CSS in the theme, but no luck.

    function exclude_category( $query ) {
    if ( $query->is_home() && $query->is_main_query() ) {
    $query->set( ‘cat’, ‘nutrition&exercise’ );
    }
    }
    add_action( ‘pre_get_posts’, ‘exclude_category’ );

Viewing 8 replies - 1 through 8 (of 8 total)