Forums

Help for amature! (3 posts)

  1. emcol1234
    Member
    Posted 4 months ago #

    Hi

    I am a complete novice so please make things really simple if you reply :oP
    I have grey lines on my home page separting widgets and I want to know what i change to get rid of them? http://www.heathrowspecialneedsfarm.co.uk

    Also I have added some buttons in the primary sidebar in a widget and they have come out left aligned and i really want them centred?

    I would ask my lovely web design man but its sunday and i dont want to bother him :o(
    HELP PLEASE?

  2. peredur
    Member
    Posted 4 months ago #

    On your first question, your sidebar widgets have a background image:

    .sidebar .widget {
      background: url("images/line-sidebar.png") repeat-x scroll center bottom transparent;
      margin: 0 0 15px;
      padding: 0 0 20px;
    }

    You need to add a new style rule (in a child theme if you are using a theme over which you do not have full control), like this:

    .sidebar .widget {
      background: none;
    }

    If that's not simple enough, you need to wait until you can ask your developer to do it for you.

    Cheers

    PAE

  3. peredur
    Member
    Posted 4 months ago #

    For your second query, your buttons are in a text widget. I think you have two choices here. If you want the content of all text widgets to be 'centered', you can add style rules for the 'text-widget' class. If you only want this particular text widget to be affected, you'll need to change the style rules that someone (you? your developer?) have created for this text widget, in the text widget's HTML in your site's Dashboard.

    Either way, I don't think you can really center the buttons. That would normally be done by giving them a fixed width and setting left and right margins to 'auto'. In this case, it's probably easier just to offset them from the left using a fixed margin. Although the former might be doable in the text widget's HTML.

    Again, I'm not sure that this is going to be 'simple' enough for you. For all the questions you're asking, you need at least to know a bit about how WP themes work and how to alter the relevant CSS rules.

    Cheers

    PAE

Reply

You must log in to post.

About this Topic