Forum Replies Created
-
AuthorPosts
-
Glen Pavelich
MemberI finally accomplished this, but I have another question because I only want this new registered widget on the home page.
My site:
The added widget area is just below the header and contains the 3 images: liqueur glass, jelly tree, jellyI have the functions.php code as:
// Optional Main Content Sidebar Added
function tgherbs_widgets_init() {register_sidebar( array(
‘name’ => __( ‘Main Content Widget’, ‘catch-box-pro’ ),
‘id’ => ‘main_content_sidebar’,
‘description’ => __( ‘Main Content Widget’, ‘catch-box-pro’ ),
‘before_widget’ => ‘<section id=”%1$s” class=”widget %2$s”>’,
‘after_widget’ => “</section>”,
‘before_title’ => ‘<h2 class=”widget-title”>’,
‘after_title’ => ‘</h2>’,
) );
}
add_action( ‘widgets_init’, ‘tgherbs_widgets_init’ );And have added it to the header
-
near lien 106 just above div id=”main” class=”clearfix”
<?php if ( is_active_sidebar( ‘main_content_sidebar’ ) ) : ?>
<div class=”main-content-widget”>
<?php dynamic_sidebar( ‘main_content_sidebar’ ); ?>
</div>
<?php endif; ?>BUT for catch-box-pro how do I edit the php so it only displays on the home page.
Can you instruct me as to what code to use?
Glen Pavelich
MemberOK. The default (link to relative post) isn’t even working for the short-code generated posts. Sigh. I do have a ticket in with plug-in support.
ThanksGlen Pavelich
MemberI’m upgrading from pro 3.3 to pro 3.4, and will be sticking with my child theme which is activated. Can you respond again whether I should expect any issues. Your statement ‘considering you are using original theme, not the child theme” left me still unclear.
I will look into the plug-ins but would like to be certain once and for all if the child theme makes a difference in whether or not the customizations are maintained during the upgrade.
ThanksGlen Pavelich
MemberPS to my earlier reply above – The wooCommerce sidebar works as it’s supposed on the test site I did up for this same client… (Same template, same settings, etc). Can be viewed at http://www.fireflywebs.ca/TestSite
So there’s something else amiss for their official site. (See francodenicola.com) Can you help me figure out what it is?
Glen Pavelich
MemberI added wooCommerce widgets to
- Optional Sidebar One
and then set that for each of the Store pages.
It works for cart, acct, checkout, but the Store page itself shows blank even though it is also set to optional sidebar one. Please see: http://francodenicola.com/store/I thought I should also check the product pages, and they have no sidebar but that’s ok, but the category page shows blank again.
http://francodenicola.com/product-category/clearing-restoring-renewal-retreat-2016/(There is only one test product here, and one category image.)
If all the new template will do is offer the optional WooCommerce sidebar per page, then it will likely not be a fix for this.
Glen Pavelich
MemberYes I have definitely dragged in the wooCommerce widgets to the wooCommerce side bar… that’s why it’s so weird. The default is still showing on the acct/cart/checkout pages, and nothing on the store page. http://francodenicola.com/store/
Glen Pavelich
MemberRe:
1) Woo Commerce sidebar not working, but instead the default side bar is appearing there.
I tested on our site and it is working. WooCommerce Sidebar is only available for WooCommerce Pages like shop and products pages. You have selected no sidebar layout for your shop, so it is not appearing in WooCommerce PagesWhere exactly do I have selected no sidebar layout for the shop?
Because on my store page I have it clicked for right sidebar..
Glen Pavelich
MemberThank you for answering my questions so thoroughly. I really appreciate the time you took to do this.
Glen Pavelich
MemberNever mind. Found the updater. But you should send this info with the sale email I think.
Had to search to forum to find out about this.
Glen
Glen Pavelich
MemberGot
Update Failed: Update package not available.
when trying to do the update.Glen Pavelich
MemberSorry forgot to add that trying to do an ‘update’ also failed.
Glen
Glen Pavelich
MemberI finally got the latest version, but when I tried to install it directly (with Evolution Pro 2.7 active)
I got this error.Installing Theme from uploaded file: catch-evolution-pro.3.3.zip
Unpacking the package…
Installing the theme…
Destination folder already exists. E:/web/public_html/mysite/wp-content/themes/catch-evolution-pro/
Theme install failed.I cannot uninstall the earlier version, my whole site depends on it.
What is the work around for this please?
Glen Pavelich
MemberGot if fixed with some other help thanks.
Glen Pavelich
MemberAh. I was looking for that setting. Knew it had to be someplace.
Thanks.
Glen Pavelich
MemberMenu Size
What is showing now (on fireflywebs.ca/TestSite) has changed from what I indicated in the original post since I was working on this in the mean time.
What I did was
Remove all the media queries and the background for #header-menu #access selector
And tried to add background color to the selector #header-menu .wrapperBut can’t get the background color to take.
Also
because the site header and footer, or container is
for full width there is some setting that is
pushing it askew on large screens – ie 2880px.The site background is not centered for large screens (ie 2880px) See:
http://quirktools.com/screenfly/#u=http%3A//fireflywebs.ca/TestSite&w=2880&h=1050&s=1Glen Pavelich
MemberYes, that’s what I needed to know.
ThanksGlen Pavelich
MemberSorry – 2 posts got pasted together here. You can separate out the second one to a new thread if you wish – just call it Changing Nav-Bar Width Globally.
Glen Pavelich
MemberI have changed the main-menubar width for this site:
fireflywebs.ca/TestSite
using media queries for the different device sizes, but it’s fickle and it would be so much better if there was a way to make this change globally so that the menu bar was the same width as the ‘content’ div below it.Any suggestions on this?
Glen Pavelich
Membersorry – this didn’t come to my email. Thanks for the reply the link is
townofhanley.ca
The link from the title works, as does the link from the image, but the text ‘click to view the issue’ is also a link and it doesn’t show up.See second post Hanley Hermes – October.
Glen Pavelich
MemberNo ‘link below’ was included. I see the option on the left panel of menus now, but a question remains. What url do I put there since it requires one? Without one (ie if I remove it to leave it blank once the item is in place) then it still is clickable and goes to a ‘page does not exist”.
Thanks
-
AuthorPosts
