sebasjapes
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Kale] header image textperfect!
cheersForum: Fixing WordPress
In reply to: rounding cornersSteve. 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 cornersgourmetparent.com
not one particular page, looking to change every image.
I might want to keep the front page main image with sharp corners.Forum: Themes and Templates
In reply to: [Kale] categories on pagesTHANKS!
I misunderstood, thought it was supposed to be inside comment marksForum: Themes and Templates
In reply to: [Kale] categories on pageshi 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?
Forum: Themes and Templates
In reply to: [Kale] categories on pagesThanks 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.
Forum: Themes and Templates
In reply to: [Kale] categories on pagesMichael,
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’ );Forum: Themes and Templates
In reply to: [Kale] categories on pagesthanks 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’ );