Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle
Search Results for 'sidebar'
-
AuthorSearch Results
-
In forum: Virtue Theme
In reply to: Increase Sidebar Width
September 21, 2014 at 8:35 am #18068Just so your aware, you can add this css to adjust the sidebar width:
@media (min-width: 1200px) { #content .main {width: 66.66666666666666%;} #content aside.col-lg-3 {width: 33.33333333333333%;} }Ben
In forum: Virtue ThemeIn reply to: Hover pages and posts
Hello Hannah!
Thanks, but I mean something different.
This is for sidebar:
.sidebar a {
color: #cc3333;
}.sidebar a:hover {
color: #000066;
text-decoration: underline;
}How to change, that will be for posts and pages?
.sidebar a {
color: #cc3333;
}.sidebar a:hover {
color: #000066;
text-decoration: underline;
}What to replace with .sidebar? .posts? .pages?
Thanks.
Best regards.
In forum: Virtue ThemeIn reply to: Hover pages and posts
Hey, do you mean you want this to only affect sidebars on certain pages/posts? You can just add the page-id to the code. For instance if you wanted this to only affect your blog page you would add something like-
.page-id-71 .sidebar a { color: #cc3333; }Hope that’s what you meant.
HannahIn forum: Virtue ThemeTopic: Increase Sidebar Width
Hello,
I need to increase my sidebar width to about 340 px
I’d also like the width of my main content to be 640 px
I need both of these changes on every page of the site.
My site is http://www.spartanhomeservices.com
Thanks, Derek
In forum: Virtue ThemeTopic: Hover pages and posts
In forum: Virtue ThemeIn reply to: Featured Image Recommended Size
September 19, 2014 at 7:55 am #17967It depends on your blog post setup, are you using portrait or landscape settings? It also depends on your page, are you using a sidebar or not?
Posting a link with support questions helps!
Ben
In forum: Virtue ThemeIn reply to: Add borders to an image
September 18, 2014 at 1:24 pm #179041. No, not without changing code in the theme gallery function. Why do you not like that the text links?
2. No, it’s not possible in the Lightbox (what you see when you click the image). Your link is to a single page with one photo so a bit different.
3. No, the image is linked to the original file (whatever size you upload) and it’s shown in a responsive format so the size is as large as the screen allows.
4. Your page is not a full width page, (there is a sidebar, just no widgets in it) you need to select the fullwidth page template.
Ben
In forum: Virtue ThemeHello
I have another question.
I used a category tag cloud widget on the sidebar.
I’d like the text in it to be justified, if possible
Thanks agaun,
Ileana
In forum: Virtue ThemeIn reply to: Sidebar on Portfolio Grid
September 17, 2014 at 1:43 pm #17801If your talking about the grid page use the shortocode instead and add to a page with a sidebar
[testimonial_posts]
Or you can use
function kad_sidebar_on_testimonial_page($sidebar) { if (is_page_template('page-testimonial-grid.php')) { return true; } return $sidebar; } add_filter('kadence_display_sidebar', 'kad_sidebar_on_testimonial_page');In forum: Virtue ThemeIn reply to: Sidebar on Portfolio Grid
In forum: Virtue ThemeIn reply to: auto play featured video on main page
In forum: Virtue ThemeIn reply to: Sidebar on Portfolio Grid
September 16, 2014 at 1:37 pm #17720Sorry Markus,
It’s not part of the theme options. The portfolio post are designed to be fullwidth. If you wish to override you need to use a child theme, add a custom function in your child theme functions.php file like this:function kad_sidebar_on_portfolio_page($sidebar) { if (is_singular('portfolio')) { return true; } return $sidebar; } add_filter('kadence_display_sidebar', 'kad_sidebar_on_portfolio_page');Ben
In forum: Virtue ThemeIn reply to: Sidebar on Portfolio Grid
In forum: Virtue ThemeIn reply to: Product List Size and Alignment
September 15, 2014 at 3:36 pm #17642You can try all this css:
.kad-woo-image-size { display: table-cell; height: 150px; text-align: center; vertical-align: middle; } .product_item a.product_img_link { height: 150px; display: table; width: 100% } .product_item .product_details a.product_img_link { height: auto; display: block; } .kad-woo-image-size img { max-height: 150px; width: auto; } .product_item .kad_add_to_cart { min-height: 48px; } .product_item .product_details h5 { min-height: 120px; }Just a note doesn’t look like you have prices for all your products and since you have a 4 column layout with a sidebar your not giving yourself much room to work with, I think it would look much better with a three column layout.
BenIn forum: Virtue ThemeTopic: "Staff" not displaying.
I’m using the two column staff pages to display rates for two different services. I’ve set up the main staff page (in this case, Rates) created a group (rates) and built a “staff” page for each service (weddings and notary). Both services were displaying on the rates page just fine for a while. Now one of them, Weddings, isn’t displaying, and I can’t figure out why.
Here’s the Rates page. And here are two pages in the staff group: Notary and Weddings.
I’ve made some changes to the css having to do with image borders. This is the sum total of the css I added to the advanced settings style sheet:
.sidebar a:link {
color: #3292cc;
}
[class*=wp-image] {
padding: 0;
margin-right: 2%;
margin-bottom: 1%;
}.kad_img_upload_widget img {
border: 1px solid #ddd;
}Is there anything in the styles that would have caused the weddings “staff member” to stop displaying?
Thanks.
In forum: Virtue ThemeTopic: Google Analytics
I have been trying to figure out the Google analytics. The site is http://www.luxepair.com
I have put the tracking code into the settings page as suggested. Do I also need to add it into each page. I read another post that said I did. I tried to add a sidebar text widget with the script code. I want to see the information for each page. Can you confirm if I have done it right or if there is something else I need to do?Thank you very much for your help.
Mark.
In forum: Virtue ThemeIn reply to: How to put/add Login button
This has been a sticky question. I’ve spent the last two days searching for a solution similar to yours Che.
Need a simple (haha!) set of buttons: Login / Logout (maybe include the My Account button) to show/not show according to the visitor login-account status.
Have not succeeded.
I took copious notes of all the links and hints from multiple online sources; tried at least 15+ plugins, some worked but didn’t do exactly what I wanted, and some fizzed out. Then attempted to insert all the various code samples. *sigh* None worked right, but then, I’ve only started learning WordPress and coding in the last few months, so therefore my failures are expected. (Can’t list all my notes, much, much too long)
I’ll post a few of the sample codes / links to the more promising ones.
What I’d like is this:
On the Top Bar (could be part of a menu with cart on the right)
New Guest Visitor:
LOGIN | CHECKOUT | YOUR CART -$00Visitor after Login:
LOGOUT | MY ACCOUNT | CHECKOUT | YOUR CART -$00Sample code snips: Couldn’t figure out what “menu” to link to for the top bar.
———————————————————
•Using the wp_nav_menu_items hook. . . .Piece of code which shows the login/logout link on the “primary” menu location. Change “primary” to the menu needed. Add to theme function.php
———-add_filter( 'wp_nav_menu_items', 'wti_loginout_menu_link', 10, 2 ); function wti_loginout_menu_link( $items, $args ) { if ($args->theme_location == 'primary') { if (is_user_logged_in()) { $items .= '<li class="right">Log Out'; } else { $items .= '<li class="right">Log In'; } } return $items; } --------------------------------------------------------- or this: ---------------------------------------------------------if( ! function_exists( 'add_loginout_to_menu' ) ) { function add_loginout_to_menu( $items, $args ){ //Nav location in your theme. In this case, primary nav. Adjust accordingly. if( is_admin() || $args->theme_location != 'primary' ) return $items; if( is_user_logged_in( ) ) { $link = '' . __( 'Logout' ) . ''; } else $link = '' . __( 'Login' ) . ''; return $items.= '<li id="loginout-link" class="menu-item menu-type-link">'. $link . ''; } } add_filter( 'wp_nav_menu_items', 'add_loginout_to_menu', 10, 2 ); --------------------------------------------------------- or this: ---------------------------------------------------------add_filter( 'wp_nav_menu_items', 'wti_loginout_menu_link', 10, 2 ); function wti_loginout_menu_link( $items, $args ) { if ($args->theme_location == 'primary') { if (is_user_logged_in()) { $items .= '- Log Out
'; } else { $items .= '- Log In
'; } } return $items; } --------------------------------------------------------- Then this next tip looked like it would work, but couldn't get the swap to work. From Ben's response, might need to post my site to ask him if he can supply the code. https://www.kadencewp.com/support-forums/topic/displaying-login-logout-link-in-the-primary-menu/ --------------------------------------------------------- Tried this code snippet too: (my site menu numbers - Login 605 / Logout 604) ---------/* swap login/logout menu tabs depending upon user status */ #menu-item-604 { display: none; } .logged-in #menu-item-604 { display: block; } .logged-in #menu-item-605 { display: none; } --------------------------------------------------------- These links had some interesting code, but didn't feel I understood it enough to try it: http://fellowtuts.com/wordpress/wordpress-ajax-login-in-sidebar-without-a-plugin-part-1-login/ http://fellowtuts.com/wordpress/wordpress-ajax-login-in-sidebar-without-a-plugin-part-2-ajax-logout/ --------------------------------------------------------- This also looked promising: http://wordpress.stackexchange.com/questions/142342/logout-hyperlink-within-a-sub-menu but bungled it badly and gave up after many tries when my child-function.php would get deactivated from the errors. --------------------------------------------------------- Please Ben, you are my only hope!! :D ~ ann PS. If you need a look at my site, I'll have to activate it, (offline at the moment), and I've removed all my test code snips. This can wait till later if needed, you might be very busy taking care of the fallout from the WP and WooCommerce updates. * * * *In forum: Pinnacle ThemeTopic: Single Product Layout
I started to work on products in my Woocommerce shop and realized that the single product pages would not change when i made a selection of either option to the single product layout in the theme options.
I currently do not have a sidebar and either selection will give me a 40/60 width between the product image and product content.
In forum: Virtue ThemeIn reply to: Content page sidebar customization
September 11, 2014 at 9:49 am #17297Standard:
.sidebar .widget_nav_menu ul li { margin-bottom: 2px; padding: 10px; background: #f1f1f1; }Hover:
.sidebar .widget_nav_menu ul li:hover { background: #eeeeee; }Current:
.sidebar .widget_nav_menu ul li.current-menu-item { background: #aaaaaa; }In forum: Virtue ThemeTopic: Hide Sidebar for Pages
Hello,
My site has 3 pages and 3 categories. I have a sidebar with the latest post. This sidebar appears everywhere but the home page, I would like to hide (take it off) it from all Pages and only keep it for the categogies (and each post). How can I do that? I tried in Blog Option but in didn’t work for the Pages, and when I edit a page, it doesn’t give me the option to show or not the sidebar, like it does for a post….
Thanks -
AuthorSearch Results


