- This topic has 15 replies, 3 voices, and was last updated 6 years, 11 months ago by carlmumford.
-
AuthorPosts
-
April 12, 2017 at 7:32 am #304953carlmumford
Hello, for the life of me I can’t get my head around php hooks if that’s what I am meant to be using to pull different pages of my site.
I want a 3 column layout so I have Content / Sidebar / Sidebar.
Is there a way of pulling, just say my about me page in to side bar 1? and the same for a different page for sidebar 2?
Thanks!
April 12, 2017 at 7:49 am #304956carlmumfordAlso,
How can I make the individual blog posts contained rather than full width?
Thanks
http://samdivinefan.com/album-releases/franky-rizardo-house-album-now-available/
April 12, 2017 at 7:53 am #304957carlmumfordSorry, I don’t visit often! One final question.
http://samdivinefan.com/?s=example+search
As you can see the content is aligned to the left without any padding. Does this need custom CSS to edit as I don’t see any option to add padding.
April 12, 2017 at 8:52 am #304987LeoStaffCustomer SupportHi Carl,
– Not sure what you meant by pulling the page into sidebar? Like have a link to another page?
If not can you provide an example?– That blog post is already contained? If you are looking to push the text in more than try changing the Content Padding in Custozmier > Layout > Container
– Try this CSS:
.one-container .inside-article { padding: 0 40px; }
Adding CSS: https://docs.generatepress.com/article/adding-css/
April 12, 2017 at 9:56 am #305031carlmumfordHi Leo, that’s great thanks.
Sorry I didn’t explain my first point very well. I meant is it possible to hook e.g. my contact page in to a sidebar? Instead of a widget. Any content on one page shows in one of the sidebars. Does that make sense?
Whilst I am here; do you have any suggestions for code for putting a background around all content and making the opacity of the background 30% (ish) so that the white text sits better over my colourful background.
April 12, 2017 at 10:02 am #305034carlmumfordWhen I try to use
.one-container .inside-article { padding: 0 40px; }
If you view it on an iPhone you’ll see that the news section has extra padding. How do I specify for mobile? Sorry for questions. Thanks.
April 12, 2017 at 10:05 am #305035carlmumfordScrap above post. I used:
rgba(0,0,0,0.6)
๐
April 12, 2017 at 10:09 am #305039carlmumfordSorry this is what I meant, if you search something random in the search tool e.g. ‘fdusifhsdiufhsdiufhdsiufhs’
Look at how the content is returned in the middle where it says not found. It’s aligned left and I’m not sure where that property is coming from.
April 12, 2017 at 10:37 am #305065TomLead DeveloperLead DeveloperDid some searching and came up with these plugins:
https://wordpress.org/plugins/page-in-widget/
https://wordpress.org/plugins/content-widget/One of them might help you achieve displays a page in one of your widgets ๐
April 12, 2017 at 11:59 am #305109carlmumfordThanks for taking the time to search for those Tom.
Sorry I’m having a brain fart moment here. My article content padding is 0 and it’s apparently being generated by GeneratePress. I can’t find the setting!
Look at the homepage box on the left. I’m puzzled.
April 12, 2017 at 12:44 pm #305136LeoStaffCustomer SupportSorry what is the issue on that page? I see 20px padding around the container.
April 12, 2017 at 12:48 pm #305140carlmumfordNot sure why it’s not at the bottom. The padding is there because it is in custom CSS, but does not overridden when I use padding-bottom: 20px;
April 12, 2017 at 12:55 pm #305144LeoStaffCustomer SupportSorry what is not at the bottom? I see 20px padding at all side right now.
You should be able to adjust the padding on the container of that page using Customizer > Layout > Container > Content Padding
April 12, 2017 at 12:58 pm #305146carlmumfordVery odd, mine doesn’t display right.
April 12, 2017 at 1:04 pm #305149LeoStaffCustomer SupportAhh we were talking about different padding.
The bottom padding is getting overwritten by this:
.one-container.page .inside-article { padding-bottom: 0; }
Can you try clear or disable your caching plugin?
-
AuthorPosts
- You must be logged in to reply to this topic.