Digital experiences for all disciplines
Forum Replies Created
-
Posted in: We hit Power Elite.
-
September 9, 2015 at 12:04 pm in reply to: Since update I cannot find local translation to make changes #211647This reply has been marked as private.
SO it was, found it, fixed it. Thanks.
OK no problem, I will edit the page instead then, thanks for your direction.
Thanks I think that has sorted it. I will keep and eye on the error log and let you know. Thanks for your help.
Yes I remove this code and the error vanished put it back in and pop its there again.
I only displays front end for a second though while the content loads in, if that makes a difference.
I am using the latest version on both.
I have added this content to my functions.php file to add an additional tab:
add_filter( ‘woocommerce_product_tabs’, ‘woo_new_product_tab’ );
function woo_new_product_tab( $tabs ) {// Adds the new tab
$tabs[‘custom_tab’] = array(
‘title’ => __( ‘Tab Title’, ‘woocommerce’ ),
‘priority’ => 50,
‘callback’ => ‘woo_new_product_tab_content’
);
return $tabs;}function woo_new_product_tab_content() {
// The new tab content
echo ‘<p>Additional copy for tab here</p>’;
}add_filter( ‘woocommerce_product_tabs’, ‘woo_reorder_tabs’, 98 );
function woo_reorder_tabs( $tabs ) {
$tabs[‘tab-downloads’][‘priority’] = 5; // first
return $tabs;
}Not sure if that would cause a conflict. I will disable it for now and see. But why is the error within the tabs file of the dante theme and not in the changes I have made?
OK So it was the CDN… now I have to purge after every change to see the effect.
Tres tres annoying. Sorry for the hassle.
Working perfectly now. Thank you.
OK just realised that my CDN needs purging for changes to take effect. Let me do this and see if that effects things… whoops! Annoying.
I will check those errors too Mohammad, thanks.
Thanks Ed, It definitely likely to be linked to col-sm-4 as when I edit the css in page and adjust the width the problem seems to be solved but that css you gave me hasn’t overridden the code from the bootstrap.min.css, that the column code is called in from.
I tried adding !important too but the css does even seem to be there or even there and hashed out?
Any more ideas?
Much appreciated. Thanks for your help.
I cant seem to overide the col-sm-4 css, if I could change the width from 33.33333% to 33% might just be enough to sync it all up.
It isn’t to do with my child theme as it still happens when reverting back to Dante original.
any ideas?
This still doesn’t solve my problem, does it?
Just worked out that col-sm-4 is a third of .col-sm-12
I found this:
media=”all”
@media (min-width: 768px)
.col-sm-4 {
width: 33.33333333333333%;
}its 3 columns, so should it be .col-sm-3 instead?
-
Posted in: We hit Power Elite.