• Resolved eblumer

    (@eblumer)


    I have a child theme based on WordPress 2010. I would like to make my site responsive (I’ve been told not having a responsive site will affect my SEO). Is there a way to convert my child theme into a responsive theme? If that is not possible, how do I edit my css file to make it responsive? The code example I saw online showed to set the max-width to x then add width : percentage under that. When I enter that code I get a rbrace error message. Thanks in advance for the help, Eric.

    my site address is https://www.ejflooring.com

Viewing 6 replies - 1 through 6 (of 6 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    When I enter that code I get a rbrace error message.

    Where did you enter it and what is the full error?

    Thread Starter eblumer

    (@eblumer)

    On line 156 of Style.css.

    154 #header_top_contact_info{
    155 max-width:350px;
    156 width : 100%
    157 position:relative;
    158 left:520px;
    159 top:-90px;
    160 font-size:15px;
    161 color:#e5a612;
    162 font-weight:bold;
    163 }

    The error message is on lines 156 and 157. Warning on 156 says expected end of value instead “position”
    157 says expected rbrace at line 157, col 10.

    Thread Starter eblumer

    (@eblumer)

    Is there a way to copy my child theme into a responsive theme?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    You’re missing a semicolon on line 156, do you see?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Well CSS is dependent on HTML, so I doubt your Child Theme CSS will work on another theme.

    Thread Starter eblumer

    (@eblumer)

    ok, I think that solved it. My header has several sections to adjust, just scared of doing it on my own. I will make sure to keep backup of the file handy so I don’t mess up too bad. Thanks again Eric

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Make my site responsive’ is closed to new replies.