-
AuthorPosts
-
November 23, 2015 at 12:52 am #675581
Hi there,
It changes global layout for all pages with sidebar but it doesn’t change it for custom sidebar we added in buddypress, it’s because the code you have in functions.php file controls sidebar position.
Hope it helps.
November 23, 2015 at 12:56 am #675587Um …. it does. I really do want to end the thread. Please forgive my ignorance, I figured that was the case. Would You please illuminate the code that would enable me to put it on the left instead? And tell me which customizer selection to do? (as in, can I have a standard ‘Content Left, Sidebar Right’ and put the sidebar in the Activity feed on the left through functions.php?)
Really truly the last question.
November 23, 2015 at 1:18 am #675603Hi there,
Do you confirm that customizer layout works on all other pages?
To change sidebar position for activity page, find following line :
elseif ( is_page_template( 'template-layout-content-sidebar.php' ) || x_is_buddypress_activity_directory() ) { $layout = 'content-sidebar';
And change it to :
elseif ( is_page_template( 'template-layout-content-sidebar.php' ) || x_is_buddypress_activity_directory() ) { $layout = 'sidebar-content';
Hope that helps.
November 23, 2015 at 1:37 am #675620VICTORY!!!!!
Aaaaaaand … that’s * IT *. Elvis has left the building; Bob’s Your Uncle, the Fat Lady has Sung. We are DONE with my questions on this.
Truly … truly, i’m really not * that guy that doesn’t stop asking questions *. I mean, not usually.
This whole thing is a lifelong project for me. Not X-Theme per se, but the content. This conversation has been my first entry into the Child/functions.php/BuddyPress thing. I’ve learned ALOT. Am very very very thankful.
Really-truly. May You be blessed; may your children (or parents, or pet) be blessed; may the digital delights of Good Service come Your way.
* bows deeply *
I’m out. Much much gratitude.
Oh. If it entertains and/or inspires, my project is about delving into the real world of magick and mysticism, helping the People. If such inspires You, please appreciate some of the photos from the Quest –> http://www.postcardsfromfaerie.com
Regardless, then I shall bid thee adieu. Thank You, Your Xness (like Your Highness, but, y’know more modern).
🙂
November 23, 2015 at 1:40 am #675621You’re welcome Peter!
Cheers!
XNovember 23, 2015 at 3:37 am #675705Ah …. nuts.
There’s something else. Grr.
The extended Activity page size doesn’t work in FULLWIDTH mode. It leaves the sidebar floating.
http://cl.ly/image/0l2L2L0n2p0h
Yet it works when in BOXED mode.
http://cl.ly/image/0T1f3G2c2O1A
Maybe there’s a workaround? Like, setting the background of Activity page to white?
http://cl.ly/image/3R3c05190m3G
….. is thank. I go sleep now. Read answer in morning. Cheers 🙂
November 23, 2015 at 4:25 am #675743Hi Peter,
You can try adding this in custom > css box in the customizer.
.activity .site { background-color:#fff; } .activity .h-landmark, .activity .h-widget { color:#000; }
Hope that helps.
November 23, 2015 at 12:31 pm #676348Okay. I’m trying to understand something about the way Fullwidth and Boxed affect the layout. I’m wondering if this is inevitable or if there is a setting to achieve the effect.
With the customizations we’ve done; when I switch to Fullwidth layout, the effect I get is this –> http://cl.ly/image/2h1k041S150j
However, when I switch to Boxed; the effect I get is this –>
http://cl.ly/image/2T1u1W2V3V2LWhy is this happening?
In a similar visual pattern, I notice the effect happening on the Blog page (just for visual reference; I suspect this is a Fullwidth/Boxed issue but wish confirmation)
In ‘Fullwidth’ mode; this is the visual effect; the transparency of the sidebar and the “floating” of the articles –> http://cl.ly/image/433L1N1e090G
Yet in ‘boxed’ mode, this is the visual effect –> http://cl.ly/image/1A2m3w2N3g3i
What is causing the transparency effect on the sidebar and the lack of a background for the container?
How may we achieve the effect of a clean, constant backdrop for the Activity Feed? Though this question is primarily about that; I notice it to be a sitewide occurrence and wish clarification.
Related to this; in a design manner, is the desire to understand the fundamental nature in which Fullwidth and Boxed function; visually.
Thank you very much. This thread is inspiring a much deeper understanding not only of the Custom options, but the very nature of X itself.
November 23, 2015 at 3:45 pm #676622Hello Peter,
Thank you for the screenshots.
Please note that when you choose boxed layout, your entire content will be constrained on the site width you have set on the customizer unless you’re using fixed left or menu. From header to main content and the footer it’s width will depend on your site width and max-width that you set. On the other hand choosing fullwidth layout means you have the entire browser width for header and footer area. As you can see, when fullwidth and using fixed top or static navbar, the entire header band is 100% but the content will still be inside the site width you have set.
Also, there are default settings per stacks per settings fullwidth or boxed. Feel free to check those settings.Hope this helps.
November 24, 2015 at 8:26 pm #678303Mmm … let’s drop the Activity page from the left a bit in the whiteness; so it’s symmetrical with the background showing through the way it does on the right.
Like, not ALL the way white to the left/menu
http://cl.ly/image/180G1x3A311z
(I just need to understand the CSS to adjust. The code I was given before is in this thread near the top.)
November 24, 2015 at 10:10 pm #678389Hello Peter,
Upon checking the screenshot, the content is centered on the white background. Regretfully, at this time I am not entirely certain what it is you would like to accomplish based on the information given in your post. If you wouldn’t mind providing us with a little more clarification on what it is you’re wanting to do (a link to a similar example site would be very helpful, or perhaps some screenshots), we’ll be happy to provide you with a response once we have a better understanding of the situation.
November 24, 2015 at 11:04 pm #678435Okay. This is what i’m trying to do. I took a screenshot of the page as-it-is, with the white extending all the way to the edge of the fixed left menu. (as per my last post). I downloaded it and made a mock-up of what i’m talking about. A bit of text next to the red arrow explaining + visual
November 24, 2015 at 11:58 pm #678475Hello Peter,
Thank you for the clarification although I am not sure on which page you want to apply that. I did check your activity page:http://intothemythica.com/members/supporthero/ and it is not the same with your screenshot because on your screenshot you have fixed left menu but the link has fixed top. To help you better, please give us the exact page link where you want to apply those changes. Thank you.
November 25, 2015 at 12:06 am #678483Sorry. I was checking something.
Does it really matter if it’s fixed left or fixed top? Ultimately, I want the white area of the Activity page to show more of the background behind it like it does on the right.
I’ll switch it back over to fixed left so that it’s more clear, vis a vis the mock-up I showed.
Okay. This page link (with fixed menu set back to left) —> http://intothemythica.com/activity/
if you reference my previous screenshot, what I want is for the background (set in Customizer – Layout) to show through on the left like it does on the right and in the mockup.
November 25, 2015 at 12:23 am #678499Hi there,
Please add this :
@media (min-width:979px){ .directory.activity.buddypress .site { margin-left: 37px; } }
Hope it helps.
-
AuthorPosts