Slider content (revisited)

Homepage Community Forums Epik Theme Support Slider content (revisited)

Tagged: 

  • This topic has 7 replies, 2 voices, and was last updated 11 years ago by Wes.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #3711
    Terence
    Customer

      It turns out not to be so easy since I need to butt the slider up tight to the header.

      And for a full width slider I can’t use a shortcode, so I need to put this…

      <?php putRevSlider( “frontpage” ); ?>

      under the home page header, but I don’t see how to.

      Can you give me some advice please.

      #3717
      Wes
      Moderator

        Take a look at your home.php file, where the slider area is. It’s already positioned directly under the header, so you can add your code there.

        #3731
        Terence
        Customer

          OK, I see this…

          /**
          * Display widget content for “slider” and “welcome” sections.
          *
          */
          function epik_home_loop_helper_top() {

          genesis_widget_area( ‘slider’, array(
          ‘before’ => ‘<div id=”slider”><div class=”slider-inner”>’,
          ‘after’ => ‘</div></div>’,
          ) );

          }

          As I am not a PHP expert, where do you suggest it should go?

           

          #3733
          Wes
          Moderator

            Probably somewhere in between the function and the last bracket “}“…..not really sure though, I’d be the wrong person to ask since I didn’t create the plugin.

            Remember, if you do it wrong it will cause a php error and your site will go down and display the error code until its resolved. Since this is an external plugin (that I’m unfamiliar with) you’ll need to contact the plugin developer or their forum for the proper way to do this.

            #3737
            Terence
            Customer

              Wes, you were right about the positioning, oh ye of little faith, and contrary to expectations ~ everything went very well.

              The only problem I am left with is an 80px space between the top of the slider and the bottom of the widgetized nav bar ~ divs slider and slider-inner ~ and an 8px slider between the bottom of the slider and the top of the “Welcome Wide” div which I cant find a reason for.

              What’s the best way to remove all these?

              P.S. The only reason I needed to change the slider from the one you had used is the fact that there was no stop/pause without the on-slider navigation, and one other thing which was a bit more difficult to deal with. In your usage you displayed “products” which could be made to be as if sitting in the background and therefore, spatially, the image floated.  Unfortunately, my subject matter is “advertising images of people/animals etc” which already has its frame outline clearly defined and when placed in a slider looks like what it is, a cut and paste job.  My solution was to try and make the images go full width and butt at the bottom and the top, so they fill the entire slider space.  Hence the need for another slider.  But if I can do that with the Genesis slider, please let me know how and I will try.

               

              #3776
              Wes
              Moderator

                I would need a link in order to see what the issue is.

                #3796
                Terence
                Customer

                  Thanks Wes.

                  #3816
                  Wes
                  Moderator

                    You’re Welcome

                    I’ll close this since the issue was resolved in the other thread.

                  Viewing 8 posts - 1 through 8 (of 8 total)
                  • The topic ‘Slider content (revisited)’ is closed to new replies.