You’ll need to start by undoing the modifications you made to try to fix the vertical space. Because there’s a parse error on the site currently, you’ll need to do this via FTP.
- Log in to your site via FTP
- Rename your theme directory to themedirectoryname.OLD
- Upload an original copy of your theme
Once your site is working again, you’ll be able to remove the vertical space on what I’m assuming is a widget. This should be done via CSS, not by editing theme files. I’d recommend installing this plugin https://wordpress.org/plugins/reaktiv-css-builder/, and using that to make the necessary CSS changes.
Ive opened the FTP. how do I locate the theme directory you are speaking of?
Theme’s are located in the wp-content directory, so you’ll need to navigate there. The path is listed in the error message you posted initially: public_html/wp-content/themes
went to: /public_html/wp-content/themes/gdvintage/elements/widgets.php
Okay, I’m in the FTP and followed to the filename ‘widgets.php’ but don’t see where I should be looking for a line number. When I click on it, it says “the target file already exists.” should I be working from the cPanel at this point? It gives me the option to Rename or Overwrite. Should I be renaming the target file: C:\Users\widgets.php?
Just to clarify, the /gdvintage directory itself should be renamed, so it will become /gvindage-OLD. Once that’s been renamed, you can upload an original, unedited copy of the theme.