WordPress.org

Forums

Editting Element Style (13 posts)

  1. healthathandclinic
    Member
    Posted 1 year ago #

    Hi All,

    just trying to design my first ever website for my company. As you can see from the footer the widgets all appear on the left alignment. I want them to be evenly spread out to match the menu width.

    How do i go about this? I would also like to add a background to each individual widget box making them all evenly sized.

    Blog is

    http://www.healthathandclinic.co.uk

  2. Andrew
    Forum moderator
    Posted 1 year ago #

    We need to see your site ;)

  3. healthathandclinic
    Member
    Posted 1 year ago #

    VOILA! thank you andrew for the quick response. damn link tags wouldnt work.

  4. Andrew
    Forum moderator
    Posted 1 year ago #

    How are they positioned at the moment, is a plugin adding inline absolute positioning to them?

  5. healthathandclinic
    Member
    Posted 1 year ago #

    hi andrew again,

    I'm just using the standard masonry that comes with twenty thirteen. I have a text widget added to the footer so it just orders them one after the other starting from the left.

    thanks again

  6. healthathandclinic
    Member
    Posted 1 year ago #

    i would also like to have the boxes width widened so the 'opening hours' are all on single lines...just to throw in another spanner;)

  7. Andrew
    Forum moderator
    Posted 1 year ago #

    Try reducing the width to the <div> that surrounds your widgets,
    E.g.,

    .site-footer .widget-area { max-width: 777px; }

    Then get rid of the extra right margin on the last widget,
    E.g.,

    .site-footer .widget:last-child { margin-right: 0; }
  8. Andrew
    Forum moderator
    Posted 1 year ago #

    i would also like to have the boxes width widened so the 'opening hours' are all on single lines

    The 'opening hours' title is on one line for me, perhaps you're seeing an issue in a particular browser?

  9. healthathandclinic
    Member
    Posted 1 year ago #

    sorry andrew,

    i meant that the times themselves arent on one line.

    For example Sun: 8.00am - 11.30am / 5.30pm - 9.00pm appears like:

    Sun: 8.00am - 11.30am /
    5.30pm - 9.00pm

  10. healthathandclinic
    Member
    Posted 1 year ago #

    as for your previous advise, it worked! sort of. if you check the site now they are in the center, however i need them to be the same width as the menu nav bar. is this possible?

  11. Andrew
    Forum moderator
    Posted 1 year ago #

    You'd need to increase the width of the widget for that and since that affects the inline CSS positioning I'm not sure how you'd do that. You're probably more familiar with this than I.

    BTW structuring your opening hours like this might be easier to style and will be more helpful for people with assistive technologies:

    <dl>
     <dt>Mon / Wed:</dt>
     <dd>8.00am-9.00pm</dd>
    
     <dt>Tues:</dt>
     <dd>8.00am-7.30pm</dd>
    
     <dt>Thurs / Fri</dt>
     <dd>8.00am-10.00am</dd>
     <dd>/6.30pm-9.00pm</dd>
    
     <dt>Sat:</dt>
     <dd>4.00pm - 9.00pm</dd>
    
     <dt>Sun:</dt>
     <dd>8.00am - 11.30am</dd>
     <dd>/ 5.30pm - 9.00pm</dd>
    </dl>
  12. healthathandclinic
    Member
    Posted 1 year ago #

    believe me andrews i dont have a clue lol this is my FIRST ever time at designing a website so thank you!

  13. Andrew
    Forum moderator
    Posted 1 year ago #

    I don't know the answer sorry.

Topic Closed

This topic has been closed to new replies.

About this Topic