WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Widget CSS (5 posts)

  1. mrmccarrin
    Member
    Posted 1 year ago #

    Hi -

    my site is http://www.pkworkcomp.com. I have a side bar set up with two widgets in it. One of the widgets is to far to the right and I was wondering if someone could help me find out what code is needed to fix this?

    (I want to move the pink menu to the left to be in line with my contact field.)

    Thanks,

    Megan

  2. alchymyth
    Forum Moderator
    Posted 1 year ago #

    add this to style.css of the child theme, with a smaller margin value:

    .widget-area .textwidget li
    {
      margin-left: 2.57143rem;
    }

    btw, there are some errors in style.css of the child theme;

    for instance, this is not valid in a stylesheet:

    <style type="text/css">
    ...
    </style>

    (remove this, but leave the style which is inside that code)

    and the quotes are wrong here:

    .wpcf7 p{line-height:"50px"}
  3. mrmccarrin
    Member
    Posted 1 year ago #

    Thank you!

    That worked perfectly.

    Ok, I will look into that.

  4. mrmccarrin
    Member
    Posted 1 year ago #

    Actually, I have one more question. How do I find out what my errors are and how to fix them? I have downloaded firebug, but I am confused as to how all this works?

    Thanks.

  5. alchymyth
    Forum Moderator
    Posted 1 year ago #

    you could try to use
    http://jigsaw.w3.org/css-validator/

    (however, without basic knowlwedge of css, this might be even more confusing)

    How do I find out what my errors are and how to fix them?

    finding CSS syntax errors is similar to correcting the spelling and grammar in a text ... after a while it becomes second nature, but you need a good starting knowledge of the basics.

    in your style.css of the child theme, the ones I pointed out seem to be the only ones.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.