Support for Envato Buyers Forums Samsara Can’t find Visual Composer plugin

Viewing 12 reply threads
  • Author
    Posts
    • #3957
      sdrasner
      Member

      Hi I just bought your theme and am using it but I can’t locate the Visual Composer plugin in the zip file. What I have is the documentation files. I did, however, find the rev-slider.zip right away. Am I missing something?

      Thanks

    • #3960

      Hi

      The visual composer plugin zip file is under “/wp-content/themes/Samsara/functions/plugins/js_composer.zip”, can you find it?
      After you actived the theme, have you got the notification on the top of the page, it require you to install and active the plugins? You can install all plugins there.

      By the way, the latest version of Samsara is V1.01, if your theme is old version, you can download it again on themeforest.

      If you have any questions, please let me know, I will answer you ASAP.

      Thanks

    • #3965
      sdrasner
      Member

      Ah, I see it, I was running search queries for visual composer. The reason that it didn’t come up for me is because I’m trying to create a child theme of your theme. That way I can modify and make the look and feel unique but still get updates. I am, however, finding it hard to overwrite your styles. I suppose I can hack your template but I’m really more of a developer so I would prefer to work this way. I was planning on building within the visual composer in the dashboard, because it seems like that’s the most comfortable way of moving things around the way that this is built. But do you have any recommendations for me in order to override these styles and create templates of my own? Any suggestions would be appreciated.

      (To be clear, I’ve made about 50 child themes before so you don’t have to explain anything basic)

    • #3966
      sdrasner
      Member

      Also, thank you for your prompt response.

    • #3970

      Hi

      Thanks for your feedback,
      Yes, I found it doesn’t support child theme style, but it’s only a small issues.
      I will improve it soon in the next version – V1.03

      The solution is add the following code into “header.php” of parent theme

      <link rel="stylesheet" href="<?php echo get_stylesheet_uri(); ?>" media="all />

      Then, copy header.php to child theme folder, change the following code

      <body <?php body_class();?>>

      to

      <body <?php body_class('child_theme');?>>

      Then, just add your custom CSS into “style.css” of child theme as below

      body.child_theme #top{display:none;}

      Thanks

    • #3974
      sdrasner
      Member

      Great! Thank you so much for your help. I really appreciate it!

    • #3976

      Hi

      Can you post your email here with private reply? I will send you the new version , it’s support to override the original CSS with child style.css

      Thanks!

    • #3980
      sdrasner
      Member
      This reply has been marked as private.
    • #4001
      sdrasner
      Member

      Hey, it’s still not working, even though I tried both of the above. It does work when I put it in the customize section in the dashboard. I would prefer not to do it that way, but if there is no good solution aside from that I can work with it. I tried taking the styles out of the function enqueue in your theme and instead @importing in the stylesheet, but that didn’t work either. ce la vie.

    • #4006

      Hi

      I mean you can add your custom CSS in style.css file of child theme.
      Also, I’m creating a child theme example for you now, and I will send it to you after a while.

      Thanks

    • #4012

      Hi

      Just sent you V1.04
      It support override parent CSS via child theme
      I also include a child theme example, just put your custom CSS into style.css in child theme folder.

    • #4067
      sdrasner
      Member

      Hi, I tried it out and it still doesn’t override. I really appreciate your help and you trying to get this to work. Can you let me know if you make any progress? In the meantime I will revert to the old theme and keep working, with my customized styles well commented.

      Thanks,
      Sarah

    • #4071

      After I installed V1.04, then install child theme, just put the custom css into style.css in the child theme folder, that’s it.

      I don’t know how you did it, if you install the child theme example I sent to you, you will know how it works.

      Also, have you installed any cache plugin on your site? You’d better turn off it or clear cache before you test.

      Thanks

    • #3975
      sdrasner
      Member

      hm. doesn’t seem to be working. any other ideas? when that didn’t work I also tried to add this to my functions file:

      <?php
      /* CHILD THEME FUNCTIONS SHOULD GO IN THIS FILE.
      The Parent theme (twentytwelve) functions.php is loaded in addition to this file.
      (The child theme's functions.php file is loaded first before the parent theme's functions.php file.) */

      function childtheme_create_stylesheet() {
      $templatedir = get_bloginfo('template_directory');
      $stylesheetdir = get_bloginfo('stylesheet_directory');
      ?>
      <link rel="stylesheet" type="text/css" href="<?php echo $templatedir ?>/css/base.css" />
      <link rel="stylesheet" type="text/css" href="<?php echo $templatedir ?>/css/layout.css" />
      <link rel="stylesheet" type="text/css" href="<?php echo $templatedir ?>/css/reset.css" />
      <link rel="stylesheet" type="text/css" href="<?php echo $templatedir ?>/css/responsive.css" />
      <link rel="stylesheet" type="text/css" href="<?php echo $templatedir ?>/css/skeleton.css" />
      <link rel="stylesheet" type="text/css" href="<?php echo $templatedir ?>/css/skeleton-responsive.css" />
      <link rel="stylesheet" type="text/css" href="<?php echo $stylesheetdir ?>/style.css" />

      <?php
      }
      add_filter('samsara_create_stylesheet', 'childtheme_create_stylesheet');

      ?>

      based on the documentation I read here about filtering: http://themeshaper.com/2009/04/30/modular-css-wordpress-child-themes/http://themeshaper.com/2009/04/30/modular-css-wordpress-child-themes/

      Still didn’t work.

      I won’t keep bothering you with this but just wondering if you knew of anything else. Usually it’s a lot easier to override.

      Thank you,
      Sarah

    • #3990

      Hi

      Sent. You can also download it on themeforest now.

      You can copy header.php to child theme folder, and make the following change in order to override CSS.

      1. Change body tag to

      <body <?php body_class('child_theme');?>>

      Then, your child theme CSS should be add body.child_theme in front of your CSS name as below:

      body.child_theme #top{display:none;}

      2. Or, you can move the following line below

      <link rel="stylesheet" href="<?php echo get_stylesheet_uri(); ?>" media="all" />

      Thanks

Viewing 12 reply threads
  • You must be logged in to reply to this topic.