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: Selectively Removing Sidebar
More importantly, I want to know how to add and remove conditions for displaying the sidebar. This is one example, but there are other needs as well.
In this example I need to hide the sidebar when the page is an event tribe
tribe_is_event_query()In the sidebar.php function file it describes these conditions, but I am unsure how to put this in the code. Do I need to modify the function, or the page.php template files.
Thanks,
BrandonIn forum: Virtue ThemeIn reply to: Selectively Removing Sidebar
April 14, 2014 at 8:24 pm #7504To be clear, tell me how you want this to work. You want to show the primary sidebar when it’s a single tribe event but not a group?
Can you post a link?
Ben
In forum: Virtue ThemeTopic: Selectively Removing Sidebar
I am using a plugin called The Events Calendar from Modern Tribe . When I place this in the theme, it shows the ‘Primary Sidebar’. I want to add this condition to the theme, however not sure where these conditions should be set in the code. Can I add this to the function, or the page.php, if so how?
<?php if ( ! tribe_is_event_query() || ( tribe_is_event_query() && is_singular() ) ) get_sidebar(); ?>
See reference
Thanks,
BrandonIn forum: Virtue ThemeIn reply to: multiple menus
April 14, 2014 at 12:58 pm #7475Well honestly I think if you want to hide menus then add the menus to the sidebar of the pages you want theme on. You can add a custom menu widget to the top of your sidebar and have two different sidebars. one for product pages and one for class pages.
If you want different menus in the header then you would need to use a plugin (i don’t know any that do this) or code two different menus and not use the wordpress system.
In the end why not use dropdowns for your two categories?
Ben
In forum: Virtue Themethe widgets in my primary sidebar are all bunched up and not all are visible. They are there and working fine, it is difficult to move them because I can’t see them as they appear to be stacked on top of each other in the backend widgets screen.
I usually use Chrome and have tried in Firefox and Explorer with the same issue.
Do I need to create a custom sidebar to use instead? Or is there an easy fix?
Thanks
In forum: Virtue ThemeIn reply to: image format and resize
April 10, 2014 at 2:27 pm #7318ok 🙂
I can only edit the code, if you tell me the right file and line numbers 😀
Otherwise, without finding a new plugin for square images in the sidebar, I have to change all the original image sizes first and then use the regenerate thumbnail plugin so that I don’t get a crop?
Marion
In forum: Virtue ThemeIn reply to: image format and resize
April 10, 2014 at 2:05 pm #7311Hey Marion,
The virtue widget uses images 80x50px which isn’t square so you get a crop, the reason your other images are showing as 50x50px is because the must have been uploaded prior to virtue. They are actually the full image which is why it takes a while to load. You can use a plugin: http://wordpress.org/plugins/regenerate-thumbnails/
And that will make all the widget images 80x50px.
For square images in the sidebar you may have to look for a plugin, or edit the theme code. How versed are you in editing code?Ben
In forum: Virtue ThemeTopic: image format and resize
April 10, 2014 at 1:50 pm #7307Hi Ben,
I have question regarding the resize of images.
When I activated „latest blog posts“ in the home layout settings my featered blog post images are not resized but they are cropped (just the mobile view was ok). Therefore I changed the home layout settings to „page content“. The images are now resized and not cropped with this setting.
I added the virtue post grid widget to the sidebar. The thumbnails of older posts are resized (and squared). But the latest thumbnail is cropped and the image format is different (this was the blogpost done with the virtue theme.) All pictures have the same original size 800 x 800.
Right now, I don’t know what I have to do so that the latest thumbnails in the sidebar and the pictures in the latest blog post view (home layout setting) will be resized?
Greetings,
MarionIn forum: Virtue ThemeApril 10, 2014 at 11:43 am #7280Wordpress figures are stange at times. Just need to add this to your custom css box:
figure.wp-caption { width: auto!important; }As for you sidebar margin you can add this:
@media (min-width: 992px) { .main.col-lg-9 {padding-right: 40px;} }And for padding the site… well you can’t see using percentages sucessfull. best way is to use media queries, even still it’s tricker then you would thing. This site has kind of a wide box but it’s not the box style I just choose the wide layout then added this css:
.wide #wrapper.container { width: 100%!important; padding: 0!important; max-width: 1400px; }This side as you will notice loses the box look once you get below 1400px.
The issue is how bootstrap framework works, it uses a code that change size right at the point a screen gets close. For example it’s 1140px wide until the screen gets below 1200px then it switches to 970px wide. So it’s not really a percentage based thing.You can Try adding this:
@media (min-width: 768px) { .boxed .contentclass, .boxed .headerclass, .boxed .footerclass, .boxed .navcontainer, .boxed .featclass { margin-left: -40px; margin-right: -40px; } } @media (min-width: 768px) { .boxed #wrapper.container { width: 750px; padding: 0 40px; } .container { width: 670px; } } @media (min-width: 992px) { .boxed #wrapper.container { width: 970px; padding: 0 40px; } .container { width: 890px; } } @media (min-width: 1200px) { .boxed #wrapper.container { width: 1170px; padding: 0 40px; } .container { width: 1090px; } }Hi, I’m trying (no success so far) to add padding to the whole site (and possibly in % so it is responsive without having to individually style all @media settings)
What happens is that when images are full width they extend past the containing div.
And I don’t want to individually remove the height/widths attributes on each.Also: the divs push the aside out beyond the content/wrap on post pages.
to see this problem in action:
*Login to see linkand yes, I know my css is wrong, I’ve tried just about anything I could think of… from max-width to border-box and whatnot, as well as changing the tags I’m editing. No luck.
can you help me?
what I want is a dark background color in the body, and some different background on the content, with nice white-space around it so the content is not so close to the margins.
I’m using boxed layout with sidebars.
On big screen widths I want more white-space, but as it goes down to a mobile-size I want that space/padding to automagically decrease. Which is why I would prefer % to px settings.
and.. I am planning to give a background-color the aside (but I’ve seen that this is easy) so similarly the page content will have to have some extra spacing on the right, between it and the aside (or viceversa, the aside has to have a margin-left).
… and it should all be beautifully responsive! 😉
In forum: Virtue ThemeIn reply to: Can´t find the body tag
In forum: Virtue ThemeIn reply to: Shop Category Sort Dilemma
April 4, 2014 at 7:52 pm #7095Just need to use a different tool, the theme isotope filter is only designed to arrange, hide and show whats is on the page. It doesn’t run a re-query of the site for all the products in that category. You need an ajax filer for that. The isotope filter is cool because of the animation (ajax filters can’t do that kind of animation) but it wasn’t designed for large stores.
For large stores I suggest using a category navigation not a filter. But if you are set on using a filter you can use this ajax filter (https://wordpress.org/plugins/yith-woocommerce-ajax-navigation/)
There is an example here in the sidebar: http://themes.kadencethemes.com/virtue-premium-3/shop/Now considering you only have 19 products you can just show all 19 on your shop page and then use the isotope filter.
Ben
In forum: Virtue ThemeIn reply to: make widget titles linkable?
March 25, 2014 at 11:01 pm #6643Hey, So wordpress standard widget titles can’t be links, what you could do is add a text box above the widget with a link around a h3 tag. Then leave the titles blank so they don’t show for the widget. That also goes for the text field. Using a text box just allows you to code anything you want into the sidebar.
Ben
In forum: Virtue ThemeTopic: make widget titles linkable?
Hi Ben
I hope you don’t mind me suggesting all these small tweaks.
I’ve just added the Cyclone Slider and Virtue Image Grid widgets to my sidebar, and it would be great if the titles were able to have a url link.
What would make it even MORE special, would be if there was a small (optional) text field below the title 😀
Not critical obviously. If you’re not planning to add these features, I can probably get in there and figure it out myself.
Lee Wilde
leewilde.comIn forum: Virtue ThemeIn reply to: Sidebar on Portfolio Grid
March 25, 2014 at 11:06 am #6604You can add portfolio items to a page with a sidebar using shortcodes:
[portfolio_posts columns=3 items=10]
As for a sidebar on the portfolio posts it’s not in the plans. What type of portfolio are you wanting to show that you would want a sidebar?
Ben
In forum: Virtue ThemeIn reply to: Sidebar Plugins
March 25, 2014 at 10:59 am #6603Hey Andrew,
In general any sidebar plugin should work with the theme. If it works at all, this one is not coded very well, hasn’t been updated since january of 2011 so it’s not using standard code and is causing an error with the javascript.I would look around for a better plugin.
As for the icons you can add this to your custom css box in the theme options > advanced settings:
.widget_recent_entries .widget-inner li a:before { display:none; }Ben
In forum: Virtue ThemeIn reply to: Sidebar on Portfolio Grid
In forum: Virtue ThemeTopic: Sidebar Plugins
I have installed the sidebar widget plugin, ‘Collapsing Archives’ (*Login to see link however it doesn’t seem to be compatible with the Virtue Premium theme (I have 2.1.6 installed). Currently, no content is displayed under the ‘Archives’ section. You can see it live here, *Login to see link
Does the Virtue Premium theme have any compatibility issues with many widget plugins?
Secondly, is there any way to eliminate the icons that display within widgets such as, ‘Recent Posts’?
Thank you!
In forum: Virtue ThemeMarch 22, 2014 at 5:55 pm #6509Ps to hide a sidebar just use the fullwidth page template: http://docs.kadencethemes.com/virtue/#fullwidthpage
Ben
In forum: Virtue Theme -
AuthorSearch Results


