Sidebar Title and Sidebar Image

Home Forums Spacious Free Sidebar Title and Sidebar Image

This topic contains 6 replies, has 2 voices, and was last updated by  ashishsthanp 2 months, 2 weeks ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1323644

    zonhisham
    Participant

    Please refer to my site at https://ybuholdings.com/wp/about/

    How am I suppose to get the Sidebar title and image to be centered? Please help. Thanks.

    #1323646

    zonhisham
    Participant

    btw, in this forum. how do I edit a previous post?

    #1323675

    ashishsthanp
    Moderator

    Hello, @zonhisham

    You can add following code inside Appearance > Customize > Additional CSS :

    
    #secondary .widget {
      text-align: center;
    }
    

    There’s an edit link on top right of your post from where you can edit your post.

    Regards,
    ThemeGrill Support Team.

    #1323692

    zonhisham
    Participant

    Hi ashishsthanp ,

    Site: https://ybuholdings.com/wp/about/
    I have added these code and things are working as expected. The images are centered and they have a nice border.

    #secondary .widget img {
      border: 1px solid;
      padding: 5px;
    }
    
    #secondary .widget {
      text-align: center;
    }

    Then I realized that, the ISO certification image looks much nicer without border. So I went into Firefox and use Inspect Element and then added this code to Appearance > Customize > Additional CSS

    #media_image-3 {
      border: none;
    }

    However the ISO Certification image still got a border around it. What did I do wrong with the code above. Please advise and thanks in advance.

    #1323805

    ashishsthanp
    Moderator

    @zonhisham

    Replace your CSS code with:

    #secondary .widget#media_image-3 img {
      border: none;
    }

    Thanks.

    #1323811

    zonhisham
    Participant

    Fantastic. Thank you so much, you have been very helpful !

    #1323933

    ashishsthanp
    Moderator

    Hello, @zonhisham

    Glad to know it worked for you. 🙂

    If you get any issue later, feel free to ask again!

    We would really appreciate if you could provide us a review here:

    https://wordpress.org/support/theme/spacious/reviews/?filter=5

    Regards,
    ThemeGrill Support Team.

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.