Restoring CSS accidentally changed in Editor
-
I accidentally changed a code that affects the structure of my title and navigation bars while in Editor. I have no idea what idea or which line was changed. I was switching back and forth between the back and front ends of my site and lost my place. I know that it is totally stupid and I am a bit freaked. I have gone back and scrutinized the area I thought I was working in to see if I can see my error, but I don’t know enough to be sure. (Please don’t chastise my ignorance. I am aware I shouldn’t have been trying to make the edits I was making considering my lack of experience and feel stupid and awful enough.) So, all that to ask– is there a way to get back to a previous version of the CSS and restore my title area to its original format??
Here is my site’s URL: http://www.southerndiscourse.com
and a copy of the area in Editor that I was working in:
/* Title Area
——————————————— */.title-area {
float: none;
padding: 0;
width: 360px;
}.site-title {
font-family: ‘Playfair Display’, sans-serif;
font-size: 60px;
font-size: 6rem;
line-height: 1;
margin: 0 0 16px;
margin: 0 0 1.6rem;
text-transform: lowercase;
}.site-title a,
.site-title a:hover {
color: #000;
display: inline-block;
text-decoration: none;
width: 25%;
{.site-description {
color: #999;
font-size: 16px;
font-size: 1.6rem;
line-height: 1.2;
margin: 0;
}Originally, my site closely resembled the original theme setup as shown here:
http://www.southerndiscourse.com/wp-admin/themes.php?theme=lovelyThe blog I need help with is: (visible only to logged in users)
-
Hi @staceypirtle!
Your site at southerndiscourse.com looks like a self hosted WordPress site, which is a little different from the WordPress.com hosted sites this particular forum is geared towards.
I’d recommend posting on the support forums for your theme (looks like you’re using Lovely from StudioPress. If you don’t have an account with them, or cannot access those forums, you can also post in the self hosted community forums over at http://WordPress.org/support.
Something that may help in the future – when making changes to your site’s CSS, it’s best to use the CSS option in your Customizer, rather than using the Editor to change the theme files directly. It makes it easier to backtrack, and your changes are safe from theme updates :)
- The topic ‘Restoring CSS accidentally changed in Editor’ is closed to new replies.