Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Do you have a Child Theme or Custom CSS plugin?
I’m using this through GoDaddy’s WordPress installation, so I only have access to the files from the editor and file uploader. So no on the child theme (though I do periodically save copies of the edited files available to me), and I do not know what a Custom CSS plugin is.
I have FTP access. But whenever I choose a new theme, it automatically uploads the files. Again, I have any files backed up so that I don’t lose my theme customization.
Can you just answer my questions please? Don’t mean to be rude, but I didn’t ask anything about where my files are saved and what copies I have or child themes. I see this a lot on questions people ask. Instead of their questions being answered, one or more people/moderators jump on and talk about child themes. I’m comfortable modifying the files, I worked with Dreamweaver before this and it’s how I’ve learned to build and edit pages.
I’m sorry but we are not comfortable advising anyone to edit the parent theme in these situations. First create a child theme for your changes. Or install a custom CSS plugin.
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Unfortunately a lot of volunteers aren’t comfortable giving bad advice, such as recommending to modify theme files.
Edit: Well, that’s actually fortunate in the long term.
It’s also reasonable to expect a WordPress-related answer in these forums. If you’re looking for a solely CSS-specific answer, perhaps you’ll be better asking in CSS-specific forums. Forums such as http://csscreator and http://welovecss.com .
I hate not having topics resolved, especially when I search later and try to find a solution from other’s posts…
I managed to create a child theme with the help of the company IT guy, GoDaddy customer support and trial and error. It was a pita, so I’ll certainly share!
I created a child theme by copying all theme files (which is a pain, but doable) in the lowest folder possible. Some files would not copy by themselves, so needed to be copied through the copy folder and contents option on the FTP uploader in GoDaddy. However, it will only copy files one folder deep. Once the theme was created, it shows up with the same name as the parent theme regardless of what I named the child folder, which made it slightly confusing but was doable.
As for my original issue, I managed to do basically what I needed with divs:
‘<div style=”border: 2px solid midnightblue; padding: 10px; border-radius: 5px; margin: 10px;”>
<h2 style=”margin-bottom: 10px;”>heading</h2>
<p style=”margin-bottom: 0;”>text</p>
<hr />
<h2 style=”margin-bottom: 10px;”>heading</h2>
<p style=”margin-bottom: 0;”>text</p>
<hr />
<h2 style=”margin-bottom: 10px;”>heading</h2>
<p style=”margin-bottom: 0;”>text</p>
</div>’
This made everything nice and neat and it shows up more or less exactly how I wanted. (The page is moved to the homepage for the entire site, also. My original link no longer leads to any page).