Restore original html code for header
-
I am using the chaotic soul template with a CSS upgrade. I am a novice at coding. A friend with more coding experience recently changed the original html code on the header, removing the center bar of the image. I tried to reset the original, but it only brings back the original image without the bar. Could someone tell me where I could find the original html header code to reconstruct the overlay. Couldn’t I edit that back in and change the photo accordingly?
-
When you are on the “edit CSS” page, there is a link to the original CSS at the bottom. I would just open that in another window, copy and then paste into the form and save it. That is the fastest way to get back to original, but all your other edits will be lost. IF that is a problem, just copy and paste the header definitions in over what you have.
Trent
-
Trent,
Thanks for your help and I see where you’re directing me. But when you say I’ll lose all the other edits, you are referring to the template edits right? And not the posts? Other than changing the text color on the subtitle and the image overlay bar, nothing else to my knowledge was altered, so I’m not opposed to doing that. I just want to make sure I’m not losing the posts since I’m new to this and it took me quite a bit of time.
But I am trying to learn this so I looked at the CSS style sheet from the original and compared it with the one I’m currently using, but under header overlay, both are identical as are the wrappers, so where else might this midbar section of the image template be found?
-
Yes, it’s just the template edits. It will not affect your posts and pages at all.
I haven’t looked at the CSS for the theme so can’t help with that I’m afraid.
-
Thanks Cornell but I just learned something else I may be doing wrong. I’m in California where the time is nearly 2:30 PM, although my post was sent according to this at 9:08. You appear to be in the same time zone since your reply came in at 9:15 pm, an astonishing eight minutes after my post. Aren’t you wonderfully prompt!
Whose time are we all on exactly? I thought I had already addressed this.
-
UPDATE: Serious problem.
I did what was suggested. I copied and pasted what was the original CSS style sheet and lost everything, but my posts. I emptied the cache, but all I’m seeing now are posts stripped of all
color, style, and template. While it says I’m currently using chaotic soul, I can’t get it back.
Please HELP!!! -
I think the time shows as GMT though I’m not exactly sure. I’m in the UK.
So, you cleared the Contents of the CSS window? All that will do is clear the CSS and show you nothing except your posts – exactly what you’re seeing now I think.
I Don’t have the CSS upgrade so can’t tell for sure what’s going on, but, below the CSS edit window there’s a pair of radio buttons, one says “add to Existing CSS”. Can you amke sure that’s selected please?
After that, try changing the theme and then changing it back to Chaotic Soul.
-
-
Cornell,
Thanks. I cleared up the problem and gratefully figured it out PRIOR to your post, so maybe some of this is sinking.
However, and timethief maybe you can answer this, whatever this “former” friend did, he must have altered the original style sheet since my new photo is still not showing the middle bar from the original. When I look at chaotic soul’s image, same – no bar.
If you want to take a look, the site is theerrantaesthete.com.
-
Well, this is where it gets strange. I changed one of my blogs to the same theme and I can see no difference in the CSS between your theme and mine. There’s no reason why you shouldn’t be displaying the breaker bar.
What is in the Custom CSS box at the moment?
Did you sort the problem by clicking “add to existing CSS”? What I’m thinking at the moment is that the CSS in the box is still missing the right code for the breaker bar.
DId you try changing the theme and changing it back?
-
Right, looking at the CSS there’s something a little weird.
In the CSS for the theme there’s this:
#header-overlay { background: url('images/header_overlay.gif') no-repeat top left; width: 760px; height: 151px; z-index: 5; position: absolute; top: 0; left: 0; }THis doesn’t, however appear in the editable section of the CSS in the box. Try inserting it and see what happens. Might work, might screw it up completely.
BTW, there’s no way to edit the “original” CSS as it’s shared, what your friend must have modified is exaclty what we’re playing with now.
-
uhmmm….sorry cornell for posting here too….
just makin sure I’m askin the right question….
like my other post to you….can we add other html code in wordpress???
plss help..am gettin desperate…
what does a girl do when she’s not a programming whiz….huhuhu….:(
-
@greatproductreviews
This is eaesthete’s thread. Please start you own thread or if you already have posted to another thread on this same subject then please do not post into two threads on the same subject.can we add other html code in wordpress???
What you have said is vague. Where and for what purpose are the questions that come to mind. Suffice to say we cannot access or edit the files for our underlying templates. This is a multi-user blogging platform. If you could edit your template then whatever you changed would effect the same change in every other blog with the same theme.
- The topic ‘Restore original html code for header’ is closed to new replies.