Disable Collapsable Dynamic Content Area

Recommended Posts

tom0360
0

tom0360 0

On a pagelines DMS site - http://www.exhibeo.com/it has a collapsable area where the revslider is placed which is the blue area on the page. I realize this is most likely done with javascript but am wondering what is the best method to disable the collapsing of this area.

What I want to do is change the width of the area to be inline with the width of the menu and change the height to be smaller and it all just scroll as normal leaving the top area fixed. Is there a way in the backend to set this or at least disable the collapsing area?

The RevSlider is a full width section and therefore, it is not possible out of the box to configure it to be content width. However, I have refactored the RevSlider section so that it can be used both as a full width section and a content width section. You can download this refactored version here - https://github.com/Dannyholt/dual-width-revslider

Once downloaded, you will need to use a child theme and then extract the .zip and rename the directory to "revslider" (without quotes). Then simply upload the revslider folder to your child themes sections folder via an FTP client. You can found the correct directory by going to /wp-content/themes/child-theme-folder/sections/

If you're not using a child theme you can use either my Skeleton theme or the official PL Starter theme.

Share this post

Link to post

Share on other sites

tom0360
0

tom0360 0

Thank you for the assistance. I added the css to prevent the collapsing of the slider area. I am not real comfortable with pagelines as of yet and not sure I will follow up on switching to a child theme. It may work just as well changing to a boxed layout. The only other thing that seems affected by this is the footer which I think will be fine.

Are there settings in the backend to change the size of the slider? I notice previewing the boxed layout the text on the slider gets cut off. I don't mind figuring it out but want to make sure i am not missing something and doing extra work for nothing.

Thank you again for the great support.

Share this post

Link to post

Share on other sites

Danny+ 1,327

Danny+ 1,327

None of the sliders in DMS have the option to change the its size. If your text is being cut off, then you will want to reformat it. Basically, it is likely your text is too long or you have one or more words that has a lot of characters. Therefore if you have something like this:

Share this post

Link to post

Share on other sites

tom0360
0

tom0360 0

If it is useful to anyone, here is the complete code I setup to disable the Transition of the slider and to make set the slider to content width instead of a fluid width. I added the css to adjust the slider content and allow it to auto wrap as needed.