June 16, 2018 at 10:56 pm #973783
I am creating a password protected page with some custom changes in wordings etc to suit my branding. As such, I have made some changes on the functions.php of my child theme for Enfold.
Searching the forums, I found that I could use the echo_shortcode to display Advanced Layer Slider via codes. But when I did this, the slider did not display as full width.
What would be the right way to display the Advanced Layer Slider as a full width slider (just like on any other page where it occupies the full width of the page) on the coded Password Protected page ?
I am using the latest version of Enfold (version 4.4).June 17, 2018 at 6:06 am #973815
Thanks for the link, though it’s password protected and you didn’t post the password. Why exactly do you need to add the LayerSlider using shortcode?
Edit; I saw that you are using a LayerSlider on the password protection page. It’s not fullwidth since it’s within the container element, if you want it to be fullwidth then you will likely need to make the whole page fullwidth.
June 19, 2018 at 3:51 pm #974808
- This reply was modified 10 months, 1 week ago by Rikard.
Sorry I should have posted the password too. Its here (on the Private Content).
Once you login, you would see that the actual page (content behind the password form) is in fact having a full width advanced layer slider. Now, as the two pages look different (the one with the password field) and the actual one, I am only trying to make both look similar.
You say –
It’s not fullwidth since it’s within the container element, if you want it to be fullwidth then you will likely need to make the whole page fullwidth.
How do I make that page fullwidth? Would it be okay to give you the codes I have for the password form page? (its also included on the private content).
Thanks again and I do hope that the issue would be resolved sooner :)June 19, 2018 at 7:47 pm #974893
Like Rikard said, you posted the slider withing a content box. Just drag and drop it outside of the container and it will be full width.
June 19, 2018 at 9:05 pm #974957June 19, 2018 at 10:00 pm #974997
- This reply was modified 10 months ago by insanityNL.
Unfortunately, it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However, if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)
BasilisJune 24, 2018 at 6:09 pm #977172June 25, 2018 at 8:30 pm #977632
What you have to do, is here:
echo do_shortcode( “[av_slideshow_full size='no scaling' stretch='' animation='slide' autoplay='false' interval='5' control_layout='av-control-hidden' src='' attachment='' attachment_size='' position='top left' repeat='no-repeat' attach='scroll']
[av_slide_full slide_type='image' id='46' video='http://' mobile_image='' video_format='' video_ratio='16:9' title='Welcome to members area' custom_title_size='30' custom_content_size='' caption_pos='caption_center' link_apply='' link='lightbox' link_target='' button_label='Click me' button_color='light' link1='manually,http://' link_target1='' button_label2='Click me' button_color2='light' link2='manually,http://' link_target2='' font_color='' custom_title='' custom_content='' overlay_opacity='0.5' overlay_color='' overlay_pattern='' overlay_custom_pattern=''][/av_slide_full]
to replace with the Advanced Layout Slider shortcode and it can work.
You must be logged in to reply to this topic.