• Resolved timothyp

    (@timothyp)


    Hi,

    I’m using a childtheme of virtue with the latest version of wordpress.

    Here’s my site – https://hand.handmadecrafthouse.co.uk/

    I’d like to adjust the spacing for the icons and buttons (text widgets in the sidebar) to all be the same, but I cannot work out how. I’ve been using the “inspect element” tool in Chrome to find the name of the various bits and pieces and when I change things in the browser they look exactly how I’d like them. Obviously these changes are not permanent, so I get the name of the <div> I’d like to change (which is something long and obscure like “.main col-lg-9 col-md-8 “) and put it in the theme options part, along with the code I’d like, but when I save it and look at my site, there are no changes!

    I know it’s only a 5px difference but it’s really bugging me… am I missing something obvious?

    Here’s the code I’m using –
    ‘.main col-lg-9 col-md-8 {
    padding-right: 10px;
    }’

    Thanks for any help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • hannah

    (@hannahritner)

    Hey, when visiting your site all the text widget boxes are the same size and looking good. Did you fix this already?

    Hannah

    so when you see the classes you only need to use one like:

    .main {
    padding-right: 10px;
    }

    if you target with all three it has to look like this:

    .main.col-lg-9.col-md-8 {
    padding-right: 10px;
    }

    Kadence Themes

    Thread Starter timothyp

    (@timothyp)

    Wonderful! That’s perfect, thanks so much! (It appears that the thing in Chrome doesn’t always insert the fullstops which meant that I had the right codey-bit but missing the stop!)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Spacing for icon menu / sidebar on front page’ is closed to new replies.