• Resolved valentiwoman

    (@valentiwoman)


    Hi I am having trouble with metasider and tried adding this code to my styles css

    ? .content .main-wrapper article .metaslider img {
    ? max-width:inherit;
    }

    and now I’m getting this error

    ? Parse error: syntax error, unexpected ‘.’ in /home/content/p3pnexwpnas03_data03/14/2343714/html/wp-content/themes/perth/inc/styles.php on line 168

    And I cannot access my site.

    Any help appreciated.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi there,

    You might have to access your site via FTP and undo the last change you made.

    Once you have the site back up and running try adding the following CSS to your theme’s style.css file (note this is not the same as the styles.php file referenced in the error):

    .content .main-wrapper article .metaslider img {
        max-width:inherit;
    }

    The styles.css file is located at the root level of the theme folder with the other template files.

    Thanks,
    Dave

    Thread Starter valentiwoman

    (@valentiwoman)

    Thanks. I corrected the error and added the code in the styles.css however it did not fix metaslider.

    Hi,

    Could you provide a link to your slider and details about the issue?

    Thanks,
    Dave

    Thread Starter valentiwoman

    (@valentiwoman)

    Thanks. I changed 2 of the slides and this is when the slider stopped working. I’ve tried deleting the metaslider and reinstalling on the page. It only shows the first slide and is not centered on the page.
    It is located at heal4real.com

    Thanks for the link.

    Could you check if ‘Print JS’ and ‘Print CSS’ are enabled a the the bottom of the Advanced Settings on the slider page?

    Dave

    Thread Starter valentiwoman

    (@valentiwoman)

    That fixed it. Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Parse error’ is closed to new replies.