Support » Theme: Virtue » child themes, skins, and homepage slider

  • Resolved WebDragon

    (@webdragon)


    I cannot help but be impressed with how responsive you’ve been in this support forum. Cheers!

    Couple questions:

    1. we would like to create tabs (similar to jquery ui tabs but just using css) hanging from a border on the topbar instead of having a background across the whole topbar, but I’m curious WRT how I would do this in a child theme, as I don’t see offhand how your theme would load alternate skins from within a child theme setting.

    2. Regarding the main homepage slider, for our design we would like the slider (in our case a flexslider) to appear on the right in a desktop layout as if it were wrapped in the right side of a ‘two-column offset-right’ column layout) but float above the content if on a mobile layout.

    3. I’m curious why you have theme options for a slider on the homepage that function completely separately from the feature template which has its own slider option (as this confused us at first, when we went to upload pictures to the Page for use in the feature slider for it, only the homepage bit overrode the feature bit and naturally no slider. 🙂 Wouldn’t it make more sense to just use the Feature template for the homepage with its built-in slider so the slides are attached to the Page, rather than the Theme Options ?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hey,
    1. A child theme has to have a css file (style.css) and you can load whatever css you want there, if you want to copy a built in skin you can then edit it there.
    As for tabs thing… I don’t think I get it? you want to make the whole site one page with tabs?

    2. You can set your max width of the slider to say 600px then add this css:
    .home .flexslider {
    margin-left: 0px !important;
    }

    3. To give module control on the home page I used a front-page.php file. This overrides page templates. So your question makes sense if you weren’t going to use the icon menu or the portfolio carousel. not to mention the added control the home page slider options give you (mobile slider). If you upgrade to premium where there three times as many home page modules then it makes more sense too.
    If you want to just use the featured template you can by deleting the front-page.php file from the theme folder.

    Kadence Themes

    Thread Starter WebDragon

    (@webdragon)

    1. Regarding adding the skin’s css to the child theme’s style.css, I was actually thinking in terms of having a way for a child theme to additionally have a skins. directory where one could copypaste one of the existing skin files and make a few alterations, so that it could be selectable from the theme options chooser like the other three. I think this would be a useful addition to both the free and premium versions of your theme 🙂

    I’ve managed to work around the skin issue for now just adding some of the necessary css to the Advanced Settings tab in theme options.

    regarding the tabs, see the pic below as well, which I’m probably also, for now, going to use css in the advanced settings tab

    2. I think perhaps I was slightly unclear. what we’re after is more like this: http://tinypic.com/r/9hukjo/8

    3. I see what you’re getting at there, but since each of your Pages comes custom already with options to add images to a slider, it seems redundant to me to have a separate unlinked slider settings pane just for the homepage where said images are disconnected from the Page editing, if you see what I mean.

    Hey,
    1. The theme options can edit all that the skins do. Anything extra can be done with the custom css box.

    2. So you just want your menu to look like tabs. That should just be some css, are you unsure how to write it?

    3. Ok, like I said above you can remove the front-page.php just be aware you will lose all the other home page settings.

    Kadence Themes

    Thread Starter WebDragon

    (@webdragon)

    1. yeah I’ve pretty much got a handle on the overrides I needed, including the topbar tabs 🙂 (which css wasn’t too difficult to figure out)

    2. this was actually referring to the placement of the homepage slider BESIDE the main content on the large-view desktop, but we would still prefer it above the (now full-width) content at smaller browser sizes.

    3. yeah there won’t be any need for that at this stage, though if all else fails for #2, I may resort to a child theme that replaces the homepage template in such a way that I can style the slider differently, but it’ll take me a bit to grok how it works.

    2. Hmm so you have a sidebar on your home page? the way to do this is to use a plugin, something like cyclone slider. Add the slider shortcode to the top of your page content area.

    Or you can edit the front-page.php

    Kadence Themes

    Thread Starter WebDragon

    (@webdragon)

    well not exactly a sidebar but kinda behaves like one, when in large format desktop view anyway.

    I’m familiar with cyclone slider having used it before for other projects, but have run into one instance where it conflicts with the built-in slider functionalities in a theme. If I can confirm that cyclone slider would work without conflict, then I could use its shortcode to inject the slideshow right where I need it on the page.

    I’ll give this a try and report back, and thanks again for your timely responses.

    Yeah it should work, the pro version is even included in the premium theme.

    Kadence Themes

    Thread Starter WebDragon

    (@webdragon)

    Whoops, well that was unexpected.. it seems that when I set the Home Page Slider options to None in the Theme Options, suddenly it puts the Virtue demo slider back at the top… is there any way set things so that there is no default slider on the homepage other than the cyclone slider I added in the content area? (also in the interest of download size for the homepage)

    Thread Starter WebDragon

    (@webdragon)

    I wound up using the video slider setting for now, as that injects the least amount of markup into the page, and then set it display:none; for the time being. The cycloneslider is working perfectly; thanks for the suggestion. Glad to know it does not conflict with the normal slider function.

    Might not be a bad idea to add a switch to your theme options and page options allowing the slider in question to be injected anywhere via shortcode thus avoiding this whole issue 🙂

    Hey, If you set it to “none” it should not show one, it’s only if you don’t have anything selected that the demo shows?

    Strange, I can’t recreate.

    Kadence Themes

    Thread Starter WebDragon

    (@webdragon)

    oh I see what I did there. I clicked the ‘X’ to remove it but didn’t _actually_ set it to ‘none’. silly me 🙂

    thanks again for all your help

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘child themes, skins, and homepage slider’ is closed to new replies.