Theme: Premium Style
-
Hey there.
That’s rather vague, but I guess you want the header in this theme:
https://ww.wp.xz.cn/themes/premium-style
To have no margin, if so then use this CSS:
.site-header { margin: 0; }If that isn’t what you need then please do elaborate further.
Have a great day!
No, Tim, the header height itself, which shows how high the header is. A header height of 0 means effectively no header.
Load the theme on your site, go to “preview” and then “customize”. From there you go to “header” and then to “add new header. In your media library select an image. When the image shows up on the next page you’ll see that all of it is shadowed, instead of part of it being clear.
When the image shows up on the next page you’ll see that all of it is shadowed
Is the problem visible on the website? If so, please link us to it. As you describe the issue should be apparent on the theme’s demo site at least.
Hey there.
No, Tim, the header height itself, which shows how high the header is. A header height of 0 means effectively no header.
The problem with being so vague in your first post is that you could be talking about the whole header, a margin or some padding in the header.
As this isn’t one of my themes and I was just trying to help, it makes it much easier if I don’t install every theme (there are many thousands) unless needed. If it’s the front end then it’s easier to use either the demo site or if it’s something more specific then a link to your own site.
One other thing to note is that if you need support with a specific theme like this one then it’s best to post in the theme authors support forum so they can see it. For this theme you can find it here:
https://ww.wp.xz.cn/support/theme/premium-style
A header height of 0 means effectively no header.
As you’re not wanting the header of the theme then it would seem pointless in setting the height to 0, you could just hide the whole header:
.site-header{display:none}You could also use a child theme and simply remove the parts you don’t require, or use this CSS.
In your media library select an image. When the image shows up on the next page you’ll see that all of it is shadowed, instead of part of it being clear.
Are you talking about the area that’s for cropping?
That area kind of darkens the image, you can either Skip Cropping or Crop Image to get past that. It should then show normally and does on mine.
But if you’re wanting that image then you probably don’t want there to be no header because that forms part of the header.
Hope this gets you in the right direction π
Take care.
Tim, the change that needs to be made is from a header height of 0, to a header height of something like 200. Oh, and crop image and skip cropping do not appear.
Can you do some screenshots of what you want to go from and to.
And also for the media library issue.
Cheers.
Tim, what you are asking for is unnecessary. What you need to do with the header section of the style sheet is change “header height 0” to a higher value, “header height 200” perhaps.
Don’t complicate matters any more than they have to be.
BTW, my “yes” is a yes, and my “no” is a no.
I have no idea what you actually want to do with the header, I have no idea what you’re asking to happen here. You’re vague in your posts and it’s hard to understand.
The images I requested were to confirm for me visually what you wanted. It helps me to understand so that I could advise more accurately.
I think if I’m complicating matters for you then it’s best I don’t volunteer my time to try and help, you obviously know best.
Good luck.
Take care.
@mythusmage: A shot in the dark here, but try this. Make a child theme, create a
functions.phpfile inside that child theme’s directory, and put this:<?php $args = array( // Text color and image (empty to use none). 'default-text-color' => '333333', 'default-image' => '', 'width' => 750, 'height' => 200, // Callbacks for styling the header 'wp-head-callback' => 'premiumstyle_header_style', ); add_theme_support( 'custom-header', $args );Change the width and height settings to whatever you’d like. Activate your child theme, and then under Appearance > Header, you’ll be given the option of cropping your chosen header image to 750×200 pixels (or whatever width and height settings you chose).
Stephen, a child theme isn’t really necessary, all the WPMU needs to do is to correct the typo in the parent theme. Change “Height: 0” to something like “Height: 200” in the header section of the style sheet.
Tim, as my mother would tell me whenever I had a tizzy, “When in trouble or in doubt, run in circles, scream and shout.”
You’re correct in that a child theme is not technically necessary here. However, if the theme were to be updated in the future, to fix a security issue or to add enhancements or to correct a mistake, any changes you made to the theme would be lost. You could still edit the parent theme’s
functions.phpand make the changes I suggested, so you could at least verify that it works correctly, as long as you understand that you would lose those changes if the theme is updated in the future.Also, neither Timothy nor the company he represents is the author of the Premium Style theme. The author is Gopi Ramasamy and his website is http://www.gopiplus.com/.
The topic ‘Theme: Premium Style’ is closed to new replies.