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 'child theme'
-
AuthorSearch Results
-
In forum: Virtue Theme
In reply to: Even spacing between items in menu
September 24, 2014 at 3:44 pm #18345If your putting in a child theme that is fine, the css just has to be a little different:
#nav-second ul.sf-menu>li { width: auto !important; } #nav-second ul.sf-menu>li a { padding: 10px 20px }Ben
In forum: Virtue ThemeIn reply to: Adjustments to Home page images and footer text
Oh you are wonderful! Thanks for your help. Here is what I’ve run into after making the updates:
1. I was hoping the logo would stay in the corner of the background image similar to the full screen size. Because it gets so large it causes a white strip under the background image and it looks crazy. Do you think I should be putting the logo and text right on the background image?
2. Still no stretching of the image.
3. If I switch it to flex then I end up with white space and arrows on either side of the image. Is there a way to get rid of the arrows and keep the flex?
4. Worked! And duh on my part for not activating the child theme. I have been looking at this too long!
5. Worked like a charm!In forum: Virtue ThemeIn reply to: Adjustments to Home page images and footer text
September 22, 2014 at 12:12 am #181241. It shouldn’t be any larger then the width of the device? What size are you wanting it?
2. You can force the background image to stretch and fill the area by adding this css to your custom css box in the theme options> advanced settings:
.headerclass { background-size: cover; }3. Use the flex slider in the theme options > slider settings. Not the carousel slider.
4. Sure, add this to your custom css box in the theme options > advanced settings:
.home .contentclass { padding-top: 0; }b. Is your child theme uploaded and activated? Looking at your site isn’t not showing that you have the child theme activated.
And ps if your just adding a little css you really don’t need to use a child theme.5. Yes,
You can use this css:.footercredits { text-align: right; }Ben
In forum: Virtue ThemeThere are a few adjustments I haven’t been able to figure out since I switched to the Virtue Premium theme. They were fine before but aren’t now and I’ve probably just been staring at these issues for too long. I tried to find the answers on the forms but things I’ve tried haven’t worked. My site isn’t live and can be found at fireflyartglass.com/wordpress.
1. The logo gets really large in mobile mode. Is there a way to reduce this?
2. The background image behind the logo doesn’t seem to get bigger or smaller when the screen size is adjusted. In the mobile mode there is a big gap under the logo. Ties in with above problem.
3. The image I have in my slider doesn’t adjust to the screen size changes either.
I like how the navigation bars continue with the size of the screen when it increases. Is it possible for the images to do that as well?
4. Is there a way to remove the white space between the slider and the menu bar?
I’ve tried some css code I’ve seen others use but haven’t been able to be successful. Also, why doesn’t my css code work in my child theme? I’ve copied and unzipped the file I found for the premium theme child but my code only works when it is in the advanced settings in the theme options.
5. Is there a way to move the copyright text/footer to the other side?
Thank you so much in advance for any help you can give me.
In forum: Virtue ThemeIn reply to: Sticky Header
September 19, 2014 at 11:49 pm #18019Hey Virginia, Unfortunately there isn’t the needed javascript, css and built in options for you to do this. The only way would be to develop the functionally using a child theme.
The closest option in the theme is the sticky header with shrink but you can’t have the logo above the menu in that layout.
Ben
In forum: Virtue ThemeIn forum: Virtue ThemeSeptember 17, 2014 at 11:37 am #17784Hey Marty,
A child theme is considered a different theme then the parent so menus, widgets all have to be reassigned. This is how wordpress saves widget and menu data. Just means all you have to do is go to the widgets page and put the widget back to where you want it to show.Ben
In forum: Virtue ThemeThe Header Widget does not display after enabling the Child Theme. Switching back to Virtue Premium causes it to display again.
Child theme contains only the styles.css, functions.php with code to add icon fonts and the front_page.php with a minor change to use the Layer Slider.
What is required in a child them?
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: Few site appearance issues: looking for solutions
September 16, 2014 at 12:11 pm #177121. You just have too much in your topbar. For example, why the category dropdown and the menu? Those can easily be combined.
2. try adding this css:#topbar-search input[type=text] { color: #000; }3. the css I sent wouldn’t add select category is was already there. and you should remove this css if you are using the background as white.
4.
5. The main menu color is blue when hover, are you wanting the background to change? Check the menu settings.
6. Assuming your have a child theme, copy the templates/header-style-two.php into it and add this in-between line 65 and 66.
<div class="hrule_gradient"></div>
7.
8. add this css:.prev_carousel, .next_carousel { ms-filter: "alpha(Opacity=100)"; filter: alpha(opacity=100); -moz-opacity: 1; -khtml-opacity: 1; opacity: 1; }9.
10.
11 and 12. You can’t sort the featured and best selling by category. I thought I made that clear I guess not.
You can only show products by category or by featured not both.So a category carousel would be
[carousel type=cat-products columns=4 items=100 speed=9000 scroll=1 cat=furniture]Ben
In forum: Virtue ThemeIn reply to: Updated changed Blog Grid View
September 15, 2014 at 3:02 pm #17638the theme has a built in tooltip where you planning to add through a child theme?
I seriously doubt it’s only this theme that has an issue with a plugin, I would check with your plugin.
BenIn forum: Virtue ThemeIn reply to: add css in another file
September 15, 2014 at 12:06 pm #17592I’m not sure what you mean or why you want to do this as css in the header is perfectly ok because it can be cached in php… but you can use a child theme, then just add to the child theme css file.
Ben
In forum: Virtue ThemeIn reply to: Displaying Login Logout Link in the Primary Menu
Hi Ben,
Its just not my day today. OR I’m maybe I’m missing something very basic.
I added the code the the style.css for the child theme I created. And refreshed the browser cache, etc. and gave it few more tries that were unsuccessful.
I understand your time is important for others, but if it strikes you, please give it a shot.
Thanks,
Mitesh.In forum: Virtue ThemeIn reply to: Change color of a single menu button
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: Virtue ThemeIn reply to: Updates and Translation
September 10, 2014 at 10:26 am #17221Thanks for the file, I’ll add. Here is how to do it with a child theme just fyi: http://codex.wordpress.org/Function_Reference/load_child_theme_textdomain
Ben
In forum: Virtue ThemeIn reply to: Updates and Translation
In forum: Virtue ThemeIn reply to: Updates and Translation
September 10, 2014 at 9:40 am #17199You can create a child theme and call the language file from the child theme, or just email me the file and I’ll include in the next update.
Ben
In forum: Virtue ThemeSeptember 9, 2014 at 8:14 pm #17132Hey,
“now I just want to move the top nav below the header”By this I assume you want to move the slider between the navigation and the topbar?
That isn’t an option. It’s really not even easily done with a child theme. I think you would have an easier time just adding a menu in pagebuilder or into the page content. Not really going to look the same.“also want to assign a different header graphic for each page of the site”
You can use the page template “feature” to add a custom slider to each page.
Ben
In forum: Virtue ThemeIn reply to: No Theme Options after update
Ello..
Further to my post I have disabled all plugins – still no theme options – tried the code snippet you put in support pages – still no theme options.
I have deleted and reinstalled an earlier version but now have to redo the plugins that i deactivated that didn’t retain their information.. which frankly is a bit of a waste of time.
I would be interested to know what fix there is for this as I can’t update the theme until we have resolved it.. FYI using child theme if that makes a difference.
Toby
-
AuthorSearch Results


