blastblast
Forum Replies Created
-
Okay – So, I just experienced this problem. As per the advice above.
I went to the protect.php file in jetpack and entered
this line
+ include_once dirname( __FILE__ ) . '/protect/math-fallback.php';
as suchif ( 1 == $use_math && isset( $_POST['log'] ) ) { + include_once dirname( __FILE__ ) . '/protect/math-fallback.php'; Jetpack_Protect_Math_Authenticate::math_authenticate(); }
And it works fine and I am able to log into wp admin panel. Are there any further steps to take to ensure that everything works in the future?
Forum: Plugins
In reply to: [Striper - Stripe Integration for WooCommerce] Some small improvementsHey, same problem with the Card Number field being too long.
In Firebug, I see that if I add max-width:100% it fixes this.
But when I add it to my mytheme-child/style.css
element.style{
max-width:100%!important;
}Nothing changes
1 – Can you guys tell me directory where you are adding the css code to take effect?
Thanks
Forum: Themes and Templates
In reply to: [Storefront] Adding an "Out of Stock" Tag [imgur]Thank you very much. That worked!
Forum: Themes and Templates
In reply to: [Storefront] Adding an "Out of Stock" Tag [imgur]Hi James,
Thanks for your prompt reply.
Unfortunately, it did not work. Here is what I did:
I copy and pasted your code in my child theme functions.php
Nothing happened.I wasn’t sure what you meant by
“If you add the onsale class it will appear the same as the ‘sale’ box.”
I took it to mean take the css/style{} from .onsale, and give it to a newly made .stock-out-of-stock…
So I tried adding the following to the original woocommerce.css which is where the css to onsale was found.
This css for onsale isonsale{border:2px solid;border-color:#787E87;color:#787E87;padding:.202em .618em;font-size:.857em;text-transform:uppercase;font-weight:700;display:inline-block;margin-bottom:1em}
I added:
.stock out-of-stock {same as above}
Nothing happened.
I feel like its simpler than this but I’m confusing something..
Forum: Themes and Templates
In reply to: [Storefront] Move menu & cart in header. Child themesHi,
I’m not expert by any means but I tried this out and it seems to work.
To get the cart moved up:
for the .site-header-cart .cart-contents
add top:-150pxTo get the Menu to the center-right as you indicted, simply use Menu 2 and turn off Menu 1 in your WP admin panel. That is the location it will move the links to.
To make changes to/set up child theme. Add a style.css and a function.php to your child theme folder
My function.php header is set up as:
<?php
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
}and all the changes I made seems to be coming out fine.
Forum: Themes and Templates
In reply to: [P2] CaptchaIt’s very possible these types of plugins don’t work well with the P2 theme.
Yes, that is in fact the case as I’ve tested it on a clean installation of p2 theme without any other plugin.
Also, other have said the same:
https://www.ads-software.com/support/topic/which-captcha-plugins-works-for-p2?replies=2
https://www.ads-software.com/support/topic/theme-p2-which-captcha-works-with-this-theme?replies=1I’d recommend getting in touch with the plugin authors for more information about the specific plugins you’re trying out.
It is doubtful that there is something wrong with all of these plugins when it just seems like it is not working for the p2 theme. It is also doubtful the captcha authors would change their plugin just to make it work for one outlier theme, p2.
But it is worth trying out as there does not seem like there are any other solutions.
To that ends, I should provide the captcha author with some information. One thing I suspect since it is just p2 theme that does not work with these captcha plugin, there must be something different about p2 theme’s comment section that makes it different from other theme’s comment section. Any clue what it is? Or any other reason why p2 theme is incompatible?
Thanks
Forum: Themes and Templates
In reply to: [P2] Allowing unregistered users to post?@scaredpath, thanks for the response.
As you suggested, for now, I’ve decided to go for the regular registration-required route.
Forum: Themes and Templates
In reply to: [Virtue] Editing Virtue.css?Okay so the virtue-child/style.css is working with the code as suggested:
/* Theme Name: virtue Child Description: virtue Child Theme Template: virtue Version: 1.0.0 Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready */
https://i.imgur.com/yaRcose.jpg
Currently: left
After deleting the a.added_to_cart properties: rightI assume that after it is deleted, it was using the woocommerce.css style which is the only other place a.added_to_cart is found.
Leaving the virtue.css as default, I added the woocommerce.css property to my child theme style.css
a.added_to_cart {padding-top: .5em; white-space:nowrap; display:inline-block}
No response – The virtue.css property is still in tack.
So, I think it’s still at square one. Is there anyway I can remove the following property from virtue.css through my child theme?
a.added_to_cart { display: block; position: absolute; top: 50%; right: 50%; margin-right: -60px; margin-top: -30px; width: 120px; height: 60px; background: #fff; background: rgba(255,255,255,0.65); line-height: 60px; font-size: 14px; font-weight: 800; z-index: 100;}
Forum: Themes and Templates
In reply to: [Virtue] Editing Virtue.css?I’ve been using that instruction to make a child theme for previous sites before but for the style.css…I suspect that I might be having trouble with this one is because I’m trying to modify a css file that’s not the style.css.
However, here’s what I did, perhaps some troubleshooting:
In my theme folder, I made a new folder “virtue-child”
make a new css file title “style.css” which I add:
/* Theme Name: virtue Child Description: virtue Child Theme Template: virtue Version: 1.0.0 Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready */ /* For older themes, and themes that do not use wp_enqueue_style() to enqueue their stylesheet, use the following line where twentyfourteen is the name of the directory where the theme resides: Make sure you uncomment out this import line below if you want to include the parent CSS and the wp_enqueue_style() is not working. If you do not then you will not have any styling in your child theme from the parent theme. */ /* @import url("../virtue/style.css"); */ /* =Theme customization starts here -------------------------------------------------------------- */ a.added_to_cart { }
No response. So I try copying that file, name it “virtue.css”, change the import to
/*
@import url(“../css/virtue.css”);
*/
add the code and still no response.Forum: Themes and Templates
In reply to: [Virtue] Editing Virtue.css?Hi,
Thanks for responding.
Your better off just overriding the virtue style sheet with your own css file, not replacing but overriding by copying and changing only the css to want to override.
I would like to do this, as I am just learning wordpress and coding, could you explain how I can do this in details? What folder and/or files would I need to make in my virtue-child theme folder?
To be precise, the change I would like to make in virtue.css is to delete all the css properties from “a.added_to_cart”
When I delete all the property from a.added_to_cart and it literally is “a.added_to_cart{}” in assets/css/virtue.css …it works for my customized page.
Can you show me how I can make that change in my virtue child theme?
Thanks
Forum: Fixing WordPress
In reply to: "Load More" button for Static PagesJeff,
Thanks for replying. That’s a very creative solution.
I tried it but I couldn’t get it working for my purpose.
The problem I had with the plugin:
1-
I’m actually using something very similar for my quote page. It’s the collapsible plugin code – https://www.ads-software.com/plugins/jquery-collapse-o-matic/ This functions as when you click on the quote, more info appears.When I use the ShowHide plugin to ‘hide’ some quotes, the collapsible codes no longer work.
2-
The ShowHide can only be used once in the page – so it would only divide the length of the page in half anyway. If I insert one ShowHide code inside of another showhide code (meaning hide 50 quote and then on the 50th quote, you can click to reveal 50 more quotes) — this does not work.And even if it were to work, I fear it might not be a good long term solution. I would have to keep grouping the quotes as the collection grows. I think I might need a dedicated scroller of some sort. Any other suggestions? thanks
I’m in the same boat, have you tried s2member with the paypal premier account? Does it work?
thanks
Forum: Themes and Templates
In reply to: [Frisco for BuddyPress] Frisco Theme Update for Buddy Press 1.9?Echoing the concerns…Will there be a standalone Frisco?
Or any similar barebones theme to replace bp-default?
Can’t help but to feel really done in by the BP team for removing the go-to layout for a product. On top of that, removing it without at the very least offering an alternative.
It’s not like there’s a bunch of (buddypress-focused theme on the market.