Digital experiences for all disciplines
Forum Replies Created
-
-
May 19, 2016 at 5:21 pm in reply to: styling – zoom / corners / page background colours / title layout #268808
Hello Kyle
Thanks for the reply.
1) a switch to turn off the zoom on project thumbnails (not product)
I just found this – which works:.portfolio-items:not(.single-column) > li figure:hover img{ -moz-transform: scale(1); -webkit-transform: scale(1); -o-transform: scale(1); -ms-transform: scale(1); transform: scale(1); }
2) perfect – how did i miss that.
3) Didn’t work for me. I even added !important… no dice
4) Darn – I’m applying this to an old theme. All the pages are set at white. It’ll mean i have to edit all (50/60 pages) Joy
5) title / breadcrumbs / navigation?Thanks again
D
If anyone wants a completed list:
/* ADD/EDIT PAGE BUILDER TEMPLATES ================================================== */ function custom_prebuilt_templates($prebuilt_templates) { /* * You can uncomment the lines below to remove default templates */ unset($prebuilt_templates['agency-two-home']); unset($prebuilt_templates['agency-four-home']); unset($prebuilt_templates['agency-four-about']); unset($prebuilt_templates['agency-two-about']); unset($prebuilt_templates['shop-one-home']); unset($prebuilt_templates['shop-three-home']); unset($prebuilt_templates['shop-one-about']); unset($prebuilt_templates['shop-two-about']); unset($prebuilt_templates['shop-three-about']); unset($prebuilt_templates['corporate-one-home']); unset($prebuilt_templates['corporate-three-home']); unset($prebuilt_templates['corporate-three-about']); unset($prebuilt_templates['corporate-four-home']); unset($prebuilt_templates['corporate-five-home']); unset($prebuilt_templates['agency-three-culture']); unset($prebuilt_templates['corporate-one-pricing']); unset($prebuilt_templates['features-tour']); return $prebuilt_templates; } add_filter( 'spb_prebuilt_templates', 'custom_prebuilt_templates' );
OK – re installed a clean version – and the I can now remove the templates via functions.php
But why does cardinal have these pre installed / non deletable templates and your other themes don’t?
Thanks for your help
Whats really odd – is that I’ve my version of Jyon running for another client – and thats perfect. You don’t even get the Swift templates.
This reply has been marked as private.Hello
No – As soon as i enter the code into my child theme functions.php – i get a 500 INTERNAL SERVER ERROR.
I can’t do anything with the site, until i revert back to the previous functions.phpI feel this is going in a different direction?
D
Hey – using the latest v2.0.3
also the latest wordpress 4.4.2 / cardinal theme 2.4.2D
This reply has been marked as private.Ok – Its the new swift page builder that is trying to do too much.
Before: clear, simple:
Attachments:
You must be logged in to view attached files.Ok – It returns a 500.
I can’t provide FTP – due to access being only granted via Cisco VPN
SO I have this in my child functions:
<?php /* * * Cardinal Functions - Child Theme * ------------------------------------------------ * These functions will override the parent theme * functions. We have provided some examples below. * * */ /* LOAD PARENT THEME STYLES ================================================== */ function cardinal_child_enqueue_styles() { wp_enqueue_style( 'cardinal-parent-style', get_template_directory_uri() . '/style.css' ); } add_action( 'wp_enqueue_scripts', 'cardinal_child_enqueue_styles' ); /* LOAD THEME LANGUAGE ================================================== */ /* * You can uncomment the line below to include your own translations * into your child theme, simply create a "language" folder and add your po/mo files */ // load_theme_textdomain('swiftframework', get_stylesheet_directory().'/language'); /* REMOVE PAGE BUILDER ASSETS ================================================== */ /* * You can uncomment the line below to remove selected assets from the page builder */ // function spb_remove_assets( $pb_assets ) { // unset($pb_assets['parallax']); // return $pb_assets; // } // add_filter( 'spb_assets_filter', 'spb_remove_assets' ); /* ADD/EDIT PAGE BUILDER TEMPLATES ================================================== */ function custom_prebuilt_templates($prebuilt_templates) { /* * You can uncomment the lines below to remove default templates */ unset($prebuilt_templates['agency-four-home']); unset($prebuilt_templates['agency-four-about']); return $prebuilt_templates; } add_filter( 'spb_prebuilt_templates', 'custom_prebuilt_templates' ); ?>
And it returns a 500 error
I passed it into my local site – same issue.Any help?
David
Hey – using the latest v2.0.3
also the latest wordpress 4.4.2 / cardinal theme 2.4.2D
Hello
Yes, did this with my child theme – got the error – and then reverted back.
you say:Please also rename the below templates to match the ones you want to remove.
So can you give me an example on how to remove About (Agency four)?
Thanks
D
Ok – added the code / uncomment – and got a 500 error.
Attached is a screenshot – I’d like to remove all the swift ones – like ‘About (Agency four)’
How do I name these?If I can then be able to lock my own – like the swift ones – that’ll be ace
Attachments:
You must be logged in to view attached files.Thanks David
I’ll add this now.
As mentioned – would be good to lock our own templates.
D
-
Posted in: Reply To: Page templates