Jump to content
balfred1345

JW Rotator and Responsive View

Recommended Posts

balfred1345
Hi,
I've got a static image placed next to a small JW Rotator slider (from Next Gen Gallery). This forms a block of images directly below the main navbar and is sitewide. When loaded in iOS (and I'm guessing any small screen) the JW Rotator drops down to the next block, and the image stays up top where it should be. Is it possible to write CSS that will keep the image and the JW Rotator together, and shrink them down responsively as needed on small screens? This can be viewed at seasonshospice.org
 
Here's the CSS I'm using right now:
/* below main nav image */

.wp-image-103 {
    position: relative !important;
    left: 5% !important;
}

 
/* Positions JW Rotator Flash Slider (is a conflict with NGG slider on video page)*/
#page .slideshow {
    margin-left: 41.2% !important;
    margin-right: auto;
    margin-top: -10.4% !important;
    outline: medium none;
}
 
Thanks for any help you may be able to offer!
 
Best,
Bruce

Share this post


Link to post
Share on other sites
catrina

Since JW Rotator is a 3rd party solution, I'm not sure what would be the best approach when it comes to adjusting it for small devices, but you should make sure that disable mobile view in Layout Editor is not checked.


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
balfred1345

Thanks Catrina!

I checked, and I've not disabled mobile view.

Perhaps I should change sliders? Do you know of a PL slider that is easily adjustable and responsive that you might recommend? I know there are several in the store...

 

Thanks again,

Bruce

Share this post


Link to post
Share on other sites
catrina

Feature slider is actually responsive in mobile view (please see: http://support.pagelines.me/docs/sections/features). I would recommend using Feature slider instead :)... or even Quickslider.


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
balfred1345

Hi,

I've been trying all afternoon/evening to get Quickslider to float right, and Content Box to float left on the same line.

While it works in Firebug, it doesn't "stick", as something seems to be overriding it, even though I've given it the !important.

 

Can you please take a look at this page: http://seasonshospice.org/join-our-team/faces-of-hospice/

 

The image is the two put together on the left, the Quickslider is on the right, with the slideshow turned off for now. 

I haven't yet figured out how to get rid of the Quickslider outline yet either.

 

Here's the CSS i'm using to style both the Content Box and the Quickslider:

 

 

 

/* two images together below nav in content box */
.wp-image-103 {
    bottom: 105% !important;
      position: relative !important;
    left: 5% !important;
}
 
/* content box */
.cb-3-test {
  float: left;
  width: 65%;
}

 
/* Quickslider*/

.flexslider .slides img {
    display: block;
    width: 25%;
    float: right;
}

 

I'd greatly appreciate any help you can offer!

Thanks,

Bruce

Share this post


Link to post
Share on other sites
James B

Hi Bruce,

 

The quickslider will want to fill the available space of the section automatically, so what you're trying to achieve in the above example is going to be tricky to set. Each slide has its own inline css set and there's various containers inside the slider which would all need to be set to the reduced width in order for that to work.

 

I think the easiest option to create that layout would be to use the 'grid' system from the Pagelines Tools page along with the shortcode activated slider (also on the tools page). http://demo.pagelines.me/tools/

 

Use the grid to create two columns at the chosen span. In the left hand column put the shortcode slider, in the right you can enter your text/html directly, not need for the contentbox.


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
balfred1345

Thanks so much James! I'll give that a try. I checked out the Pagelines Tools page, and think I can figure out how to use the [pl_carousel] shortcode given the example. But... can you tell me how (or point me to an example) to set the slide duration and transition type (ie fade instead of slide left) in shortcode?

Thanks,

Bruce

Share this post


Link to post
Share on other sites
James B

Hi Bruce,

 

The transitions are actually controlled by css. So using firebug and editing the code you'll be able to effect the effects on the slider. An example of how it is currently set is below, you'll see the transition applied in the last line.

 

 

.carousel .item {

    display: none;
    position: relative;
    transition: left 0.6s ease-in-out 0s;
}
 

 

This post might be able to help you further - http://stackoverflow.com/questions/9526970/can-the-twitter-bootstrap-carousel-plugin-fade-in-and-out-on-slide-transition

 

A full list of css3 transitions can be found here - http://www.css3.info/preview/css3-transitions/

 

Don't forget transitions use different css prefixes depending on the browser, so you'll need to add the full cross browser code to make sure it works the same in each one. Examples of the cross browser code can be found on the above link as well :-) 


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
balfred1345

Thanks for your help. I've almost got it working with the grid as suggested above. 

But, I've got a big problem that I can not figure out. 

Pointing the mouse over the Bootstrap carousel image causes it to stop or go blank.

I'm assuming that this is due to the fact that although I took out the left and right advance buttons in CSS, they still remain in HTML as shown:

 

 

<a class="carousel-control left" data-slide="prev" href="#sh-veterans"></a>


<a class="carousel-control right" data-slide="next" href="#sh-veterans"></a>

 

This is in the HTML that must be generated by the functionality built into PL and Bootstrap, since I didn't write it. Since I didn't write it, I don't know how to take it out.

 

Could you please look at http://seasonshospice.org/veterans/

and help me to get this final bug out of my implementation?

 

Thanks very much,

Bruce

Share this post


Link to post
Share on other sites
James B

Hi Bruce

 

Ok in that case instead of using the pl-shortcodes for the slider, try entering the core bootstrap html minus the navigation links, as seen in http://twitter.github.com/bootstrap/javascript.html#carousel

 

    <div id="myCarousel" class="carousel slide">
    <ol class="carousel-indicators">
    <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
    <li data-target="#myCarousel" data-slide-to="1"></li>
    <li data-target="#myCarousel" data-slide-to="2"></li>
    </ol>
    <!-- Carousel items -->
    <div class="carousel-inner">
    <div class="active item">…</div>
    <div class="item">…</div>
    <div class="item">…</div>
    </div>
    </div>

Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Similar Content

    • jeomiland
      By jeomiland+
      Greetings
      I just migrated an old DMS2 site to PL5 at cassClayton.com. If you look at the site on Safari browser, you will see the top nav bar (NavPro) is white, but gets revealed as you start to scroll the page. NavPro is used in the Header section, then a Text section in which I have Shortcode for the Smart Slider3 plugin. Would have preferred to use a PL-compatible slider but found it difficult to get Flick and Impress slider to simply fill full screen, just height of images (they were filling whole screen, hence large black area filling in the rest).
      So seems on Safari that the load order of the plugin may be causing the Nav bar to be overwritten? or something. 
      Hoping someone can help?
      thanks...  (works fine on Chrome, Firefox, even Tor, just not Safari)
    • stijnxo
      By stijnxo+
      Is there a way to disable the responsive function of your iBoxes?
      I do not want all iBoxes underneath each other on mobile, is there a way to fix columns or group boxes?
      I use them for small links and want them to stay next to each other, see attachment
      Please let me know.



    • lionel1
      By lionel1
      Hi,
      I use on my home page " impulse module " but when i look on my iPhone the image is cut and not responsive .
      i only have this problem with this module not with the other one .
      thanks for ur help
      website / www.elonakane.com 
      Lionel 
       
    • kwaoru
      By kwaoru
      Hi,
       
      I have been using DMS and pagelines.
      I am facing to a huge trouble with the appearance of one of my page on mobile (smart phones) built with pagelines.
      However I haven’t come to any solutions to organise either edit the appearance of mobile view to look neat or deactivate the responsive function. 
      Now it looks totally messy on the phone...
       
      1. Is there any way to edit the appearance of the mobile version (responsive theme)?
      2. Is there any way to deactivate responsive function?
       
      If I could receive support from you to go thorough this process I would be happy to be a pro member. 
       
      Looking forward to hearing from you.
    • Paul
      By Paul+
      I have woocommerce store, product shows title and price fine until reduce screen with on a tablet/mobile phone the price and title gets removed?  Any ideas? 
      Here's an example page: https://thelaptopfixers.com/product/operating-system-re-install/
      Try it on both desktop PC browser then resize to mobile/cell phone size!  
      Thanks
×