WordPress.org

Ready to get started?Download WordPress

Forums

widget/link images centering where in css (8 posts)

  1. David738936
    Member
    Posted 1 year ago #

    I have setup/copied a blog as a favor. I used WordPress 3.5, theme NomNom 1.7.2 with child theme Twenty Eleven. This is the formating they used before on another server. I looked everywhere and can not seam to find a place to edit the code to correct a centering issue of link images. The blog/web page is: http://autopromods.com/ On the page the sponsors and track images on the right side bar need to be centered and spaced. I also enabled the links in WordPress 3.5. I looked over all the css code and just can not find it. Any help pointing me in the right directions would be appreciated.

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    It looks like part of the problem may be that your code in the sidebar is incorrect -- see the errors starting on line 301 or so - the list ul tag is missing. Fixing that may or may not fix the alignment issue, but it needs to be fixed first so the CSS works as intended.

    http://validator.w3.org/check?uri=http%3A%2F%2Fautopromods.com%2F&charset=%28detect+automatically%29&doctype=Inline&group=0

  3. David738936
    Member
    Posted 1 year ago #

    Thanks, that help a lot. I corrected nine items and the side bar issue caused by me. Not sure what or where the remaining issues are since its NomNom and wordpress coding. I still need to find out what module has the code for centering the links images.

  4. Andrew
    Forum Moderator
    Posted 1 year ago #

    I still need to find out what module has the code for centering the links images.

    Why, what are you planning to do once you've found this?

  5. David738936
    Member
    Posted 1 year ago #

    The blog link: http://autopromod.com Just wanting to center the sponsor and track link images. I would simply change align left to align center and add some spacing between pictures. Same images are on my other site and aligned nice: http://www.customperformanceracing.net/forum/index.php?pageid=apm

  6. David738936
    Member
    Posted 1 year ago #

    http://autopromods.com/ should of been the link

  7. alchymyth
    Forum Moderator
    Posted 1 year ago #

    the widgets with the images have the css id #linkcat-7 and #linkcat-8;

    with that information you could add something like this to the custom css of the theme:

    .widget-area #linkcat-7 ul li, .widget-area #linkcat-7 ul li { text-align: center; }
    .widget-area #linkcat-7 ul, .widget-area #linkcat-8 ul { list-style-type: none; }
  8. David738936
    Member
    Posted 1 year ago #

    Alchmyth,

    Worked great!!

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.