- This topic is empty.
-
AuthorPosts
-
July 10, 2018 at 12:19 am #273850mxpcssParticipant
Hey guys,
I’m trying to customize a wordpress theme in the header section,
As to make it more responsive, I deleted the default image background, as I would like to keep this blank or just fill the empty section with a color code using css,
Kindly help if any idea how to do this?
Thanks in advance,July 10, 2018 at 3:32 am #273852Paulie_DMemberI don’t understand, you say
As to make it more responsive, I deleted the default image background, as I would like to keep this blank or just fill the empty section with a color code using css,
So you did it….so what do you need help on?
July 10, 2018 at 8:51 am #273857mxpcssParticipantLet me say it again simply:
I have installed a word press theme,
by default there is a picture displayed in the header, clear at here?I deleted that header image, so the header now is just a blank,
What I wanted to do is to fill in that empty space (blank) of the header section with a color using css code, is clear enough?
thanks,July 10, 2018 at 9:24 am #273859Paulie_DMemberDid you delete the actual image or was it a line in the CSS relating to background image?
If the latter (which I assume since you refer to it as a background image), just replace that line with
background-color: your color here;
If not…find that line in your style sheet and change it,
July 10, 2018 at 9:32 am #273861mxpcssParticipantAs I said: was an image, NOT a code or any
I just asking if can replace the image, to fill the header section background with css code,
I mentioned that I need to insert background color in the header section, NOT all theme background,July 10, 2018 at 11:18 am #273864Paulie_DMemberYou referred to it as a background image which is CSS and is not the same an an image in the HTML.
You would have to find the CSS that styles the header and apply CSS (background-color:`) to that as I said.
July 11, 2018 at 4:57 am #273927mxpcssParticipantwas clear from the 1st reply that u did not get it clearly,,
so when dint know the answer,,, just keep debating in the details out of the main point,,, or yeah,, u have no clue what was the question about,July 11, 2018 at 5:11 am #273929Paulie_DMemberI understood perfectly what you actually asked but perhaps that’s not what you actually meant which is why I gave you a couple of options depending on what you might have meant.
Either the image was in the HMTL which is an “inline image” or was used as part of a CSS background property in the CSS stylesheet.
If you removed the image from the folder (which is what I am assuming you mean by “deleting the image background”) then it would not show in either case.
So, if you want to replace that so-called “background” with something else (such as a solid color) you would have to find the line in the CSS stylesheet which defines the background and change that.
We don’t know where that line is in whatever theming styelsheet you have since we don’t have access to it or even a link to the actual site. If you can provide a link we might be able to help further.
As it stands, you just haven’t provided enough definite information to be able to answer in any more detail.
-
AuthorPosts
- The forum ‘CSS’ is closed to new topics and replies.