- This topic has 89 replies, 13 voices, and was last updated 5 years, 3 months ago by Leo.
-
AuthorPosts
-
March 2, 2015 at 1:48 pm #81945TomLead DeveloperLead Developer
Sure is! π
May 26, 2015 at 12:58 pm #110439Pieter VAN OPSTALHi Tom,
Sorry for re-opening this thread… I’m working on a new site http://www.argentat.nl/wp I tried the script you gave a few months ago, i’m wondering if you managed to find a way using different colors for content and sidebar. I want to get the brown from the left sidebar to the footer. I tought of using a background image for the content, but i think it will be a problem because it wouldn’t be responsive…
Thank you
PS: Sorry for not giving an awnser a few pages ago, but I changed a lot on the other website and didn’t need the script anymore. I was to bussy.
May 26, 2015 at 11:16 pm #110502TomLead DeveloperLead DeveloperSince you’re using the script, you can add this CSS and it should work:
.inside-left-sidebar { background: #9E8473; }
May 26, 2015 at 11:20 pm #110507Pieter VAN OPSTALI just tried it, but it seems not to be working.
May 26, 2015 at 11:21 pm #110508TomLead DeveloperLead DeveloperWhen you pasted the code into the wp_footer hook, you also pasted in some CSS which is setting the color to white.
You can remove the CSS from the wp_footer hook and it will work π
May 27, 2015 at 12:24 am #110510Pieter VAN OPSTALWow!!!
Thank you so much, how can I offer you a coffee or a beer?
Your service is great, continue like this!May 27, 2015 at 12:26 am #110512TomLead DeveloperLead DeveloperHa! Thanks so much! There’s a “Buy me a coffee” button in your Dashboard under “Appearance > GeneratePress”.
Really appreciate it! Thanks again π
May 27, 2015 at 12:30 am #110513Pieter VAN OPSTALDone π
Thanks for you help!
May 27, 2015 at 12:31 am #110514TomLead DeveloperLead DeveloperThank you! Will use it on my morning coffee π
June 6, 2015 at 4:10 am #112869James FrostTom,
I’m trying to do something similar to this, but instead expanding the main content on short pages to the length of the sidebar, e.g. on this page : http://www.alanbaxteronline.com/contact/
I don’t just want to set the background of the theme to white, as I like the black borders around the sidebars at present, any other ideas?
Best regards
James
June 6, 2015 at 9:40 am #112914TomLead DeveloperLead DeveloperThis method would work well for you – your sidebars are already solid white, so it would just take your sidebars and main content to the same height. The black borders between sections would remain π
June 6, 2015 at 10:07 am #112917James FrostTom,
perfect – now sorted. I’d tried the sidebar code originally but didn’t realise I needed to set the main content to white as well. Looking nice : http://www.alanbaxteronline.com/contact/
thanks again
James
June 6, 2015 at 10:12 am #112919TomLead DeveloperLead DeveloperPerfect! Glad I could help π
November 22, 2015 at 1:29 am #154703LarryHi Tom and thanks for the great theme / support.
Is there any way to make the content of the sidebar sticky while using this footer code. I tried this plugin before adding the equal length column code and it worked great.
https://wordpress.org/plugins/sticky-menu-or-anything-on-scroll/
Now the sidebar is full height there is no “stickiness”.
ThanksNovember 22, 2015 at 4:16 am #154732LarryPerhaps some more details are in order.
I set the id #right-sidebar to be sticky in the plugin and it worked well before. Now I need the sidebar to stick from class .inside-right-sidebar but this is no longer unique as it is also called by the new script in the footer.
I guess I need to give the inside-right-sidebar content a new identifier to allow the Sticky Plugin to work. I don’t know how to approach this.
The site (in development) is: http://www.havuzcu.net/
I don’t really need the equal column height, I only need to have no spacing between the sidebar widgets while keeping the space between the main container and sidebar.
-
AuthorPosts
- The topic ‘Equal length columns’ is closed to new replies.