Tagged: , ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #12418


    In the Angular theme, is it supported to have a slider within a toggle? I am using a short code slider for images and it was working beautifully until I tried to stick it in a toggle.

    When a slider is within a toggle, only the controls display. Initially, the container where the image should be appears to have no height, but when a control is clicked to switch slides, the container resizes and leaves a white space where the image should be. I tried looking at it with “inspect element” in chrome and firebug to see if I could fix it with CSS, but after clicking inspect element, it curiously begins to display properly until the page is refreshed.

    The site is currently under construction so I can’t give a link, but if someone from support wants to take a look, I can make an account.




    UPDATE: If the window is resized after the page is loaded, the sliders begin to display properly.


    Hi ltlwicker,

    I’m not sure if it will be possible to get the two shortcodes working together like that. The way that they are loaded in from shortcode to html/javascript makes it difficult to nest them like in your example.

    If you really need that effect, you’ll have better luck but creating the two shortcodes in the visual editor then viewing the source of the page and putting that html into the HTML tab of the page you are editing. So you would be manually combining the two after they are generated by the shortcode.



Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Slider in toggle not displaying properly’ is closed to new replies.