Support » Fixing WordPress » align footer links in center

  • hi
    in my theme i have a div in my footer that is styled with CSS. I have all my page links in there. I am trying to align all these centrally and adding text-align: center; to the themes stylesheet does not achieve this. The links remain on the left.

    i am using firebug to locate the correct div and it’s class but everytime i try to add ‘text-align: center;’ it doesnt happen.

    any ideas?
    HH

Viewing 5 replies - 1 through 5 (of 5 total)
  • text-align should be on a block-level parent of the links, .e.g. on a div or p element that contains your links. Try looking up the css for that parent in Firebug.

    Thread Starter Johnny Bravo

    (@herbiehysteria)

    its wierd ive tried entering text-align: center; in all the css rules it could be in, now i cant find the .footer_menu class, what firebug points to, in my themes stylesheet.

    it’s the links at the bottom, i just want to centralise them for design sake. still no luck, i know this is sooo simple.

    HH

    Firebug not only points you to the line where you can find the relevant rule, but also to the relevant CSS file (your theme could be using more than one CSS file).

    Thread Starter Johnny Bravo

    (@herbiehysteria)

    nope, ive checked both stylesheets .footer-menu isnt there, the closest ive got is .footer-menul ul

    any ideas?
    thanks!

    Thread Starter Johnny Bravo

    (@herbiehysteria)

    typo – .footer menu ul

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘align footer links in center’ is closed to new replies.