• Resolved Tessila

    (@tessila)


    Yesterday I searched Google on how to change the font of the drop-down links on the menu on my website, and I found a solution that had to do with copying and pasting an HTML code into the custom CSS code. So before I pasted it in, I copied the whole original code and pasted it onto a notepad, then I made the change. When I went to save it, it sent me to a blank page with just this at the top:
    Parse error: syntax error, unexpected ‘.’ in /home/electricchurch/tessilamcleanphotography.blackcoffeeranch.com/wp-content/themes/virtue/lib/custom-css.php on line 32
    I went back one page, and it brought me back to the code editor, and it didn’t give the message that it was saved. So then I replaced the whole code with the original one I’d saved, and clicked “save”, and it brought me back to that error page. Then I tried going to my website, but it gave me that same error.
    So I decided to wait to see if it was a problem with WordPress, but now that I closed everything, today I tried again, and I can’t get anywhere on my website anymore. Not even the dashboard.
    I’m using the theme titled “Virtue”, if that helps any.
    I already searched on this forum for a solution, but everyone’s problem with that error wasn’t exactly like mine, so I didn’t find a solution for my exact problem. So what do I do? Can I ever get my site back?
    My website is: Tessilamcleanphotography.blackcoffeeranch.com

    The page I need help with: [log in to see the link]

Viewing 7 replies - 16 through 22 (of 22 total)
  • Thread Starter Tessila

    (@tessila)

    You mean like Filezilla?

    Hello tessila,
    Use Filezilla for this purpose.
    Thanks.

    Thread Starter Tessila

    (@tessila)

    Okay, I replaced the code with yours, and it still won’t let me into my website. It now says this:
    Parse error: syntax error, unexpected ‘}’, expecting end of file in /home/electricchurch/tessilamcleanphotography.blackcoffeeranch.com/wp-content/themes/virtue/lib/custom-css.php on line 39

    Hello,
    Sorry I missed PHP tag in the begging of the file.
    I update my gist and please try with the new one.
    https://gist.github.com/anamwp/d67fd137e3b0f2d379e628163cb14a9a
    Thanks.

    • This reply was modified 7 years, 1 month ago by ThemesGrove.
    Thread Starter Tessila

    (@tessila)

    It worked! Thank you so much for your patience in walking me through it all. I don’t know the slightest thing about HTML code. Again, thank you!

    Hello @tessila,

    Please to hear that your problem is solved and help you.
    I think you have learn a lot of things through this conversation.
    Love to help you next time too.

    Thanks.

    Thread Starter Tessila

    (@tessila)

    Yes, I have. Thank you! Actually I have another question in regards to coding.
    I would like to change the size of the text that drops down from the menu on my website, and I found where I need to place it (in Additional CSS), but the additional CSS is just this:

    /*
    You can add your own CSS here.

    Click the help icon above to learn more.
    */

    So I placed this code below:

    #mainnav li .sub-menu a {
    font-size: 14px;
    }
    but it didn’t work. Then I tried just replacing it, and it still didn’t do anything.
    How can I make it work?

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘Parse error: syntax error, unexpected ‘.’’ is closed to new replies.