Forum Replies Created
-
AuthorPosts
-
Glen PavelichParticipant
Sorry, I likely didn’t make that second part of the question clear.
It wasn’t about adding featured images to a post, but adding CSS code for second branding area photo (for the header) …so I could have a larger header image on the home page and a shorter one on all the other pages. I couldn’t find the proper class to grab, but I did figure it out. See code below.
#branding
width: 1000px;
height: 200px;
border: 1px solid #eee;
background: #000 url(/ThemeTrialWP/wp-content/uploads/2017/02/backgroundSmall.jpg) no-repeat;
margin-bottom: 20px;
margin-left: auto;
margin-right: auto;
}.home #branding {
width: 1000px;
height: 642px;
background: #000 url(/ThemeTrialWP/wp-content/uploads/2017/02/background2.jpg) no-repeat;
}As to the first question: The code you gave me for the new widget area works perfect, and is exactly what I was looking for help with.
Thank you so much.The support here at Catch Themes is one of the reasons I use Catch almost exclusively for the WP sites I build.
G
Glen PavelichParticipantAnd sorry… I found still one more thing in addition to the previous post I just made.
I have two page branding images… a shorter one for the pages, and a longer one for the home page, but I can’t find a different class or id that allows me to set one for each.
Can you tell me how to set the second one below so it appears only on the pages, and the top so it only appears on the home page?
#page #branding {
width: 1000px;
height: 642px;
background: #000 url(/ThemeTrialWP/wp-content/uploads/2017/02/background2.jpg) no-repeat;}
#branding {
width: 1000px;
height: 200px;
border: 1px solid #eee;
background: #000 url(/ThemeTrialWP/wp-content/uploads/2017/02/backgroundSmall.jpg) no-repeat;
margin-bottom: 20px;
margin-left: auto;
margin-right: auto;
}Glen PavelichParticipantYes, thank you very much that is the code I needed help with, and I appreciate your taking the time to show me how it should look. I learn from this… thank you.
Can you assist with one more thing on this.
I now have the new widget area working, except I cannot get the 3 items within the widget to float left so they are horizontal across the page.
You will see below header how they align vertically. My css doesn’t seem to be working to get the sections to float left.
Thanks
GlenGlen PavelichParticipantI 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 PavelichParticipantOK. 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 PavelichParticipantI’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 PavelichParticipantPS 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 PavelichParticipantI 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 PavelichParticipantYes 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 PavelichParticipantRe:
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 PavelichParticipantThank you for answering my questions so thoroughly. I really appreciate the time you took to do this.
Glen PavelichParticipantNever 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 PavelichParticipantGot
Update Failed: Update package not available.
when trying to do the update.Glen PavelichParticipantSorry forgot to add that trying to do an ‘update’ also failed.
Glen
Glen PavelichParticipantI 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 PavelichParticipantGot if fixed with some other help thanks.
Glen PavelichParticipantAh. I was looking for that setting. Knew it had to be someplace.
Thanks.
Glen PavelichParticipantMenu 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 PavelichParticipantYes, that’s what I needed to know.
ThanksGlen PavelichParticipantSorry – 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.
-
AuthorPosts