Tagged: x
-
AuthorPosts
-
December 13, 2016 at 10:01 am #1291465
erikawellsParticipantHello!
A while back, you guys were able to help me add CSS code to create a border along the edge of my sidebar. I’ve changed a little bit of my idea of how I’d like it to look, and I could use some more help!
I’d really like for the border to extend up to the menu and down the the footer border, so that it looks as if the sidebar is a separate boxed element.
Similar to this image:

The code I’ve used to create the border is as follows:
@media (min-width:768px){ .x-sidebar.right { border-left: 10px solid #E7E6E8; }Could you help me out? Thanks!
December 13, 2016 at 10:02 am #1291466
erikawellsParticipantThis reply has been marked as private.December 13, 2016 at 10:38 am #1291505
JadeModeratorHi Erika,
My apologies but I am not certain what you are trying to do based on what you have described. Do you want the sidebar to be shifted a bit to the top that a part of it overlays the header?
December 13, 2016 at 11:06 am #1291537
erikawellsParticipantHi Jade!
Sorry, I’m having a hard time describing it. I would like the gray sidebar border to go all the way up to the gray primary menu, so that there is no white in between. Also the same on the bottom: I’d like the sidebar border to meet the border I have in the footer.
I took screenshots and photoshopped them to illustrate the style I’m hoping to achieve. Does that help?
December 13, 2016 at 11:20 am #1291548
erikawellsParticipantHere’s the other screenshot, it didn’t upload properly the first time.
December 13, 2016 at 12:23 pm #1291627
JoaoModeratorHi There,
Please add the following code to Appereance > Customizer Custom > CSS
.blog .x-container.width { margin: 0; } .right { padding-top: 30px; }Hope it helps
Joao
December 13, 2016 at 12:51 pm #1291668
erikawellsParticipantThat worked well for what I was hoping to achieve, and after adjusting my margins and padding the sidebar looks great! Unfortunately, now the blog content is off center, as is my header and footer. Any ideas what to do about that?
December 13, 2016 at 3:43 pm #1291867
JadeModeratorHi Erika,
Please update
.blog .x-container.width { margin: 0; }to
.blog .x-container.width.offset { margin: 0; }It should fix the alignment issue.
Hope this helps.
December 14, 2016 at 9:26 am #1292836
erikawellsParticipantThank you, that did address the problem with the header and footer being off center, but the blog content is still off.
December 14, 2016 at 10:10 am #1292906
ThaiModeratorHi There,
Please update the previous CSS a bit:
.blog .x-container.width.offset, .single-post .x-container.width.offset { margin: 0; }Hope it helps 🙂
December 14, 2016 at 10:53 pm #1293793
erikawellsParticipantBummer, still not working yet! I can bump up the margin or padding on the left side to give it more space over there, but nothing I’m trying is effecting the huge amount of space on the right side of the text. It’s on both the blog page feed, and each individual post page.
December 14, 2016 at 11:06 pm #1293807
erikawellsParticipantI think I fixed it (or at least patched it) by adding this code to the end of what you gave me:
.left { padding-top: 8%; padding-left: 10%; padding-bottom: 8%; width: 84% !important; }I may play around with the percentages, but does that look like it is going to work out?
December 15, 2016 at 12:00 am #1293851
LelyModeratorHello There,
I can see that is is ok now on your blog index page. On blog single pages, it is off because by default Section has container. We have to disable this container. Edit your single post content in Cornerstone, click section and Inspect Row > Set Column Container to OFF.This will give you same spacing on with your blog index page.
December 15, 2016 at 9:44 am #1294348
erikawellsParticipantPerfect! Thank you guys so much, your support is the best!
December 15, 2016 at 10:02 am #1294392
JoaoModeratorGlad to hear we managed to help,
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1291465 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
