• Resolved livewild

    (@livewild)


    https://simplythewildside.com

    if you look at the ‘sponsors’ area on the right hand sidebar you’ll notice some dead space between the picture and the border. i do not want to make the pictures any larger, i want to shrink the sidebar to fit, so there isn’t the empty space.

    same thing on my ‘advertisement’ box

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello!

    You can easily accomplish that by editing some css code. I would advice creating a child theme for this to ensure that you don’t lose any changes on an update, or install Simple Custom CSS plugin.

    Here is the code necessary to shring the whole sidebar, and increase the content area accordingly:

    .hfeed {
      width: 80%;
    }
    
    .aside {
      width: 17%;
    }

    If you want, you can change the percentage values based on your needs.

    Let me know if this worked, and if there is anything else I can help you with.

    Cheers,
    Toth Balint BT

    Thread Starter livewild

    (@livewild)

    Thanks so much.

    I installed the simple custom CSS plugin. and i put

    .hfeed {
      width: 80%;
    }
    
    .aside {
      width: 17%;
    }

    into it.

    it did resize them nicely. but it also changed the format of the whole page. the whole sidebar as seemed to shifted down.

    Thread Starter livewild

    (@livewild)

    Ok i’ve been messing with the % and seems to be fitting it in better.

    Now is there a good code to put in so my ‘posts’ text are wider?

    I sure wish i knew coding better!

    thanks for your help!

    Sure, you just have to set the .hfeed width percentage properly, for me I think the best is at 71%:

    .hfeed {
      width: 71%;
    }

    Cheers,
    Toth Balint BT

    Thread Starter livewild

    (@livewild)

    thanks. it looks better

    I am glad that I could help you.

    If there is anything else I can help you with, just drop a line here, and I am happy to give a hand.

    Have a nice day!

    Cheers,
    Toth Balint BT

    hallo

    I want to ask .. how to make my sidebar wider to the right, because there is some content in the side bar I do not read because it was too narrow. I tried css tricks you give above but I see more and more small changes I’ve even played in% still does not change the width of the sidebar. thx for your help

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘resize sidebar to fit content’ is closed to new replies.