Jamie Gill
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Change Color on NewsLetter BarHi Chris,
Maybe my bad that one the ID of that container changes every load! Try this instead :-
#section-237 .fw-main-row {background-color:#434998!important}
Forum: Themes and Templates
In reply to: [Storefront] Storefront – Product Page Social Icons…No need for the harsh tone, I think he is only pointing out that there is no reference to the Storefront theme. All the styles etc on that page are controlled by the Avada theme :-
/wp-content/themes/Avada/assets/css/woocommerce.css
If your wanting to remove the socials in the review tabs and lighten the text in the select box this is controlled around line 2514 this CSS should suffice :-
.wp-social-login-widget {display:none} .woocommerce .avada-select-parent select {color: #000;}You will need to add this into a child theme otherwise when you update your Avada theme these changes will be overwritten.
Forum: Themes and Templates
In reply to: How do we change the layout for the posts page?Normally the default layout for posts is controlled in single.php
By changing page layouts from the left bar I assume you mean changing Page Templates? This is not built into Posts there’s one template in the wordpress core.
However if you wanted more than one template to choose for in Posts then there are plugins out there, heres one after a quick google :-
Forum: Themes and Templates
In reply to: theme header box too bigThe heading text is wrapped in a container with huge padding :-
#Subheader { padding: 200px 0 110px; }This would need amending via a child theme to :-
#Subheader { padding: 100px 0; }However it looks as thoguh this is a commercial theme so you should be able to contact the company you buoght the theme from to get the help you need.
Forum: Themes and Templates
In reply to: Limit number of posts on homepageYou need to add another query into the WP_Query :-
‘posts_per_page’ => ‘4’
So it should look like this
<?php $features = new WP_Query( array( 'post_type' => 'sidedish','post__in' => $sidedish_posts_to_query ,'order' => 'DSC', 'posts_per_page' => '4') );?> <?php if ($features->have_posts()) : while ($features->have_posts()) : $features->the_post(); ?>Forum: Themes and Templates
In reply to: Change Color on NewsLetter BarIt is an inline style so I assume it can be done in your page builder?
The only way you can achieve this via CSS would be something along the lines of :-
#section-572d0d0230056 {background-color:#000 !important;}
Into your child theme however that is quite dirty so I would take a look closer in the themes build to find the inline style it has ‘background-color: rgb(255, 191, 0);’
Forum: Themes and Templates
In reply to: How to turn an HTML website into WordPress?This is possible but it would require creating a theme and reading through the documentation :-
https://codex.wordpress.org/Theme_Development
After reading this download a blank theme like Starkers which will give you the barebones of a working theme for you to add in the existing code.
Forum: Themes and Templates
In reply to: Centering Buttons for Piqueyou will need to give the button a width and align it using margin. Text-align will only center text not the element, if you gave its parent text-align:center that would also work. Try
style=”width:200px; display:block; margin:0 auto”
Change width and margin accordingly ‘auto’ is what is centering the element.
Forum: Plugins
In reply to: [Wordpress Simple Survey] Results Score as PercentageHi,
Not sure if you still need this but I managed to do this in the [wp_simple_survey_result_score] shortcode.
If you got to views/results/view.user_quiz_results.score.php this is where the result is calculated :-
function wpss_user_quiz_result_score_view( $result ){ $s = (string) ( (int) $result->score ); $id = "wpss_results_score_quiz_" . (string) ( (int) $result->quiz->id ); $o = ''; $o .= '<div class="'.$id.' wpss_results_score score_'. $s .'">'; $o .= $s; $o .= '</div>'; return $o; }Where $s is the returned number of answers answered correctly. Instead I have implemented the total number of answers and divided the two and times it by 100 returning the percent. So the new function looks like this :-
function wpss_user_quiz_result_score_view( $result ){ $s = (string) ( (int) $result->score ); $totalq = count($result->data['questions']); $answerpercent = ($s / $totalq) * 100; $id = "wpss_results_score_quiz_" . (string) ( (int) $result->quiz->id ); $o = ''; $o .= '<div class="'.$id.' wpss_results_score score_'. $s .'">'; // $o .= $s; $o .= $answerpercent.'%'; $o .= '</div>'; return $o; }This returns with the percent of answers answered correctly.
Hope this helps
JForum: Plugins
In reply to: [WooCommerce] Woocommerce Update issueYes I read the forum post last night, however I wasnt aware I could get to the right version as Mike suggest 2.0.16 and this seems to exist :-
http://downloads.wordpress.org/plugin/woocommerce.2.0.16.zip
I will give it a bash tonight, thanks for your time Stephan I shall keep you posted on my progress.
Cheers
JForum: Plugins
In reply to: [WooCommerce] Woocommerce Update issueYes that is correct
Forum: Plugins
In reply to: [WooCommerce] Woocommerce Update issueWP is – Post Name
Woo is left on DefaultI have reset both these earlier hoping it may solving it but didn’t work
Forum: Plugins
In reply to: [WooCommerce] Woocommerce Update issueHi Stephan,
I have activated Storefront for debugging purposes and still have the same issues, the main shop/categories are all empty
http://www.jamiegill.com/clients/firstguitars/
Also the products are still accessible by a link :-
http://www.jamiegill.com/clients/firstguitars/product/bigsby-b5-vibrato-for-flat-top-guitars/
But as you can see there is no buy button or price and in the backend the price field is empty which I assume is the issue here. If the products worked fine this wouldn’t be an issue I would just reskin it in the new templates, it is more the missing data.
Cheers
JI am having a similar issue with a very old build I did in 2011.
The issue started happening 2015/07/01 before this all orders were changed to processing and firing woocommerce emails fine without IPN even running. Did Paypal change something on July the 1st that would effect woocommerce?
I am fine doing an update but just wanted to check if anything has changed their end.
Cheers
JForum: Plugins
In reply to: Members / Directory PluginOh also each registered member needs to be Geocoded onto a clickable map as per the address they signup with.