I followed the instructions, but this line struck me as odd, because it’s no the full path. wp-content/themes is missing?
Oh from the Theme URI:
Line
I just activated the child theme and the site is fine.
The only thing I lost was the header picture, so I re did that and all is the same again.
Hello Kenny,
Glad to see you got a child theme going for the required modifications 🙂
Did you add the CSS code given in the other thread? Any difference?
If it did not work you might want to add !important to the declaration – here’s the code again with that added…
#site-header {
margin: 0 auto !important;
}
Regards,
Zulf
EDIT:
I followed the instructions, but this line struck me as odd, because it’s no the full path. wp-content/themes is missing?
WordPress knows where to look given the correct parameters 🙂
Thanks for your help, and I’ll be trying the above soon.
On the “pages” widget.
Do you know a short code to exclude all menu pages?
No Joy, Zulfikar..
I tried both in the above style.css with no effect.
OK lets try with this one…
.site-header {
margin: 0 auto;
}
Also try it with !important added if above does not work.
Zulf
I added the 3200px to custom-header.php with no joy
Then realized I may have to re-up the header……
Guess what, it’s working fine!
Now I’m not sure of the adjustment that worked. 😉
Awesome 🙂
Now I’m not sure of the adjustment that worked.
The main thing is, its working.
The way I test things (if I don’t remember) is by going back and remove one adjustment at a time, save test, note the results then re-apply the changes, save and move on to the next. Eventually I find the working adjustment 🙂
I removed the style.css adjustment and left this alone
add_theme_support( ‘custom-header’, apply_filters( ‘ridizain_custom_header_args’, array(
‘default-text-color’ => ‘fff’,
‘width’ => 3200,
‘height’ => 380,
‘flex-height’ => true,
‘wp-head-callback’ => ‘ridizain_header_style’,
‘admin-head-callback’ => ‘ridizain_admin_header_style’,
‘admin-preview-callback’ => ‘ridizain_admin_header_image’,
I changed it in two places
function ridizain_admin_header_style() {
?>
<style type=”text/css” id=”ridizain-admin-header-css”>
.appearance_page_custom-header #headimg {
background-color: #000;
border: none;
max-width: 3200px;
min-height: 48px;
}
And it is still holding full screen at 1920 resolution header.
What I’m wondering now is if it will be justified left at a higher resolution. I’m attempting to find out from a friend.