bullet points in pages widget

  • Unknown's avatar

    Hi there…is there a way to have the bullets points and text move over to the center of the pages widget? I have tried

    text-align: center

    in the CSS but the bullet points don’t move, just the text, and I really don’t want center justification. I just want the whole list to be move as is, to the center.

    Hope that makes sense.

    Thanks!

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi @jlanglois2014,

    I hope you are well today and thank you for your question.

    Could you please try using the solution posted in the following reply to to move the bullets points and text over to the center?

    http://stackoverflow.com/a/5347910

    Best Regards,
    Vinod Dalvi

  • Unknown's avatar

    Thanks Vinod…I tried that solution and it did move the bullet points and text to the center, and for all of my lists. However, I need the whole text (with bullet points) to move to the center, but still be left justified for just the one pages widget. Basically just a shift to the center with the same justification as now.

    The widget I need help with is #pages-7. I have tried using

    #pages-7 ul {margin: 50px; }

    which moved it to the center but it was stretched out and it caused the center widgets to become misaligned.

    Thanks for any help.

  • Unknown's avatar

    If you want to center align the text in the pages widget, the following will do that. (Notice that this will hide the parent/child relationships between the items.)

    #pages-7 ul li {
        text-align: center;
    }

    If you wish to move it all over to a more centered location within the widget and keep the page items left-aligned, then use the following.

    #pages-7 {
        padding-left: 80px;
    }
    #pages-7 h1 {
        margin-left: -80px;
    }
  • Unknown's avatar

    The second set of coding worked for what I wanted. Thanks for the quick and response and the solution! Much appreciated.

  • Unknown's avatar
  • The topic ‘bullet points in pages widget’ is closed to new replies.