#1
Posted 11 October 2012 - 03:56 PM
Help please! I am not trained in CSS or PHP, but I am a quick learner and good at figuring things out-- just a heads up about my skill level . I really need help so I hope I can express the problem well enough (you've already helped me several times recently, so thanks in advance for your patience!). Here is my issue:
I have a plugin called CiviCRM. This plugin is designed to be a "constituent relationship management" system with a database at the back end, so it has front facing forms and pages for donations, events, fund raising campaigns, etc. All data captured flows through to the self-hosted database (same host as WP install) that can be mined for all kinds of useful reports. It's very cool but not well-developed yet for WP-- it was originally developed for Drupal and only recently available as a WP plugin.
Problem: The content from CiviCRM is all messed up (I have "fixed" at least one CiviCRM page using the custom CSS area in the Pagelines dash, but I can't create new styling for every page I create, take a look: , my regular site global styling looks like this: ). What I really need is a new template so I can place the CiviCRM content on a page with a plain white background, no header, no footer, no other sections. Ideally, I would be able to assign a special template set up for CiviCRM just like any other template. Is that possible? Can I create a special "plain vanilla" page template to hold CiviCRM content? How do I do this?
BTW: CiviCRM pages are created by dropping in short code for the content. You just click the CiviCRM icon located above the editing window (next to the "add media" icon), select the appropriate content that you already created in CiviCRM from a drop-down menu (donation form, CiviCRM event page, registration page, new member page, etc.) and the content is added via short code to the page. Just like many other plugins work.
Thank you!
#2
Posted 11 October 2012 - 04:34 PM
Ideally, I would be able to assign a special template set up for CiviCRM just like any other template. Is that possible? Can I create a special "plain vanilla" page template to hold CiviCRM content? How do I do this?
Yes, you can use a different template (Template 1, Template 2, or Template 3) and set that up in Drag & Drop by deactivating the sections you don't want in the page template areas. You can add CiviCRM to a page that uses that template.
#3
Posted 11 October 2012 - 05:11 PM
Can I add certain styling to just that template? Can I do it like this in the Custom CSS area: #template 1 .body {background-color:#ffffff;}or how? I really need the background removed and I need other styling to be overridden in the template. The problem is that I have set background colors, etc. in the site options, globally. Can I override those for just one template?
#4
Posted 11 October 2012 - 05:18 PM
#5
Posted 11 October 2012 - 05:25 PM
#6
Posted 11 October 2012 - 05:52 PM
#7
Posted 11 October 2012 - 05:58 PM
But that's just for the page. I need to do it for a template. Can I specify a template somehow in the css custom code?
#8
Posted 11 October 2012 - 06:17 PM
#9
Posted 11 October 2012 - 06:29 PM
#10
Posted 11 October 2012 - 06:42 PM
Note that I have specified "template-id-4" not a page ID. The problem with doing it page by page is that everytime I create an event, a form, a campaign, etc. I would need to add custom code for that page. Cumbersome. Seems like there should be a way to do this for a range of pages, like with a template...
#11
Posted 11 October 2012 - 06:55 PM
#12
Posted 11 October 2012 - 06:58 PM
There is no class for specifically Template 4. page-template is there, but that covers all regular pages.
#13
Posted 11 October 2012 - 07:05 PM
page-template-page-alpha-php is actually template | 1
page-template-page-alpha-php => template 1
page-template-page-beta-php => template 2
page-template-page-delta-php => template 3
page-template-page-epsilon-php => template 4
page-template-page-gamma-php => template 5
#14
Posted 11 October 2012 - 07:24 PM
I can now set the page template to Template 4 for any new page I create and it will have the white background and any other special css that I create. I couldn't do it before because I didn't know how you specified the template, now I know: body.page-template-page-delta-php Thank you, Catrina!
#15
Posted 11 October 2012 - 07:31 PM
#16
Posted 11 October 2012 - 09:29 PM
#17
Posted 11 October 2012 - 09:30 PM
#18
Posted 11 October 2012 - 09:48 PM
Probably, i cant count especially in latin!Thanks to you too Simon. This solves so many issues for me! Actually, though, doesn't it go like this, alpha, beta, gamma, delta, epsilon for templates 1,2,3 and 4 respectively? (you have alpha, beta, delta, gamma, epsilon
.
Also tagged with one or more of these keywords: Resolved, Custom Template
Resolved
PageLines Framework →
Technical Support →
Anything Boxes And Polylang Language Filtering ProblemStarted by janpeeters , 01 Dec 2012 |
|
|
||
Header In Banner AlignmentStarted by bankrollbuilder , 28 Nov 2012 |
|
|
||
Resolved
PageLines Framework →
Customizations →
2 Hero UnitsStarted by starlit , 28 Nov 2012 |
|
|
||
Tabs Do Not Align HorizontallyStarted by hutruk , 28 Nov 2012 |
|
|
||
Resolved
PageLines Framework →
Customizations →
Reduce Margin In Contact FormStarted by texasx , 27 Nov 2012 |
|
|











