Viewing 8 replies - 1 through 8 (of 8 total)
  • as you using text widget you should be able to center with html code.

    theorganisedhousewife,
    Add css property text-align:center in sidebar class of style.css

    Thread Starter theorganisedhousewife

    (@theorganisedhousewife)

    Hi Avnish, I’m not quite up with css coding, where do I add this code within the sidebar style sheet?? Thankyou for your help!

    In style.css look for this code around line 378

    #sidebar .boxr, #sidebar .categories, #sidebar .linkcat {
    border-color:#CCCCCC;
    border-style:solid;
    border-width:4px 1px;
    margin-bottom:20px;
    padding:10px 0;

    add
    text-align:center;

    On style.css line no.378

    #sidebar .boxr, #sidebar .categories, #sidebar .linkcat {
    border-color: #CCCCCC;
    border-left: 1px solid #CCCCCC;
    border-right: 1px solid #CCCCCC;
    border-style: solid;
    border-width: 4px 1px;
    margin-bottom: 20px;
    padding: 10px 0;
    text-align: center; /*add this css property*/
    }

    Thread Starter theorganisedhousewife

    (@theorganisedhousewife)

    Thankyou – That has worked, however I just wanted the images centered not all the text. Is there any way I can get the text back to align left, but the images centre.
    Link to my website: https://www.theorganisedhousewife.com.au

    remove text-align: center; property from inline css ,where you want to change. and also you can use text-align: left;

    #sidebar .boxr, #sidebar .categories, #sidebar .linkcat {
    border-color:#CCCCCC;
    border-style:solid;
    border-width:4px 1px;
    margin-bottom:20px;
    padding:10px 0;

    add
    text-align:center;
    text-align: center; /*add this css property*/

    Tim viec, Thám t? t?, Tham tu tu, Dich vu tham tu

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘text widget’ is closed to new replies.