Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Uplift › Accordion hiding content
New Landing › How can we help? › Themeforest Theme Support › Uplift › Accordion hiding content
- This topic has 29 replies, 4 voices, and was last updated 8 years by David Martin – Support.
-
Posted in: Uplift
-
May 30, 2016 at 12:33 am #270975
Hi,
For one of our websites we’ve divided different blog categories into different accordion tabs. On this page we have some long infographics and when you click on a different tab (for instance, VIC Melbourne) the page doesn’t extend to show the rest of the content. I’ve found that once I inspect element on the page it then fixes for some reason, but as visitors won’t do this, a different fix would be great.
Thanks
Attachments:
You must be logged in to view attached files.May 30, 2016 at 8:19 am #271005This reply has been marked as private.May 30, 2016 at 9:09 am #271019Hi,
In that new page when I click in Melbourne it’s showing me the infographics.
https://www.dropbox.com/s/811dsy9oly2o773/Screenshot%202016-05-30%2009.16.28.png?dl=0Do you have more content in that tab?
If so will need admin credentials to have a look.-Rui
May 31, 2016 at 12:20 am #271242This reply has been marked as private.June 2, 2016 at 3:25 am #271867June 2, 2016 at 5:15 am #271876Hi Ed,
I just checked and it seems to get cut off in Firefox and Chrome on different computers. It seems to be that on page load the content in the default/first tab doesn’t get cut off, but as soon as you click on one of the different tabs it gets cut off. It also seems to work fine on phones, just not on desktops.
There’s another page with the same layout, if you wanted to have a look there too:
http://www.propertyology.com.au/free-reports-articles-archive/property-market-outlooks/
June 2, 2016 at 3:37 pm #272098Hi @ronin
Please can you try replacing the /js/functions.js and /js/functions.min.js with the ones in this zip – http://swiftideas.d.pr/1b1ML/1BIbXnis
Made a change that should hopefully sort the size out.
– Ed
June 3, 2016 at 1:02 am #272182Thanks for the help, however I added those two files to both the uplift and uplift child theme and still seem to have the issue.
June 3, 2016 at 1:07 am #272183Actually, I just checked in Safari and Firefox – they work, it’s just Chrome that’s still having an issue.
June 3, 2016 at 5:38 am #272200Hi Ed,
Just thought I’d let you know that until we figure out this problem I’ve added:
.tabbed-blog .spb_text_column, .tabbed-blog .spb_tabs .tab-content {
min-height: 1500px;
}so that the content doesn’t appear cut off (just noting for further testing, this will need to be turned off).
June 5, 2016 at 12:55 pm #272490Hmm.. I’m still unable to replicate in chrome. Would you be able to test yourself by editing /js/function.js line 4901:
}, 200);
Try increasing that number? Make sure you have performance mode disabled in the theme options.
– Ed
July 7, 2016 at 6:30 am #279610Hi Ed,
We only just got around to trying this out but we still are unable to make it work. I changed the 200 to 300, I’m not sure if I need to try some more numbers, I just don’t want to screw around too much as this site is live.
I just wanted to clarify, the page loads fine for the first tab, but once you click onto another tab (say NSW), the content gets cut off. I’ve still got the temporary code mentioned above in place so this doesn’t happen, but it isn’t ideal.
Thanks for the continued help.
July 8, 2016 at 6:46 pm #280179Hi,
Yes I can replicate this on your site.
If you remove your min height CSS solution first.
Next inside Theme Options => Custom JS please add this:
jQuery('.tab-pane').each(function (index, element) { var tabHeight = jQuery(this).outerHeight(); jQuery(this).css('min-height', tabHeight); });
July 11, 2016 at 12:47 am #280300Thanks David,
I tried that, the Market Outlooks page seems to be working fine now, but the Market Trends page still gets cut off.
Thanks again for the help.
July 11, 2016 at 1:40 pm #280467Hi @ronin,
I’ve commented out the css fix, and added some JS that looks to have sorted it. Please can you check your end?
– Ed
-
Posted in: Uplift
You must be logged in to reply to this topic.