Forum Replies Created
-
Author
-
August 10, 2015 at 17:15 in reply to: How to add Revolution Slider on the Member-activity page #72442mladasParticipant
Is there code that can be added to functions.php file that will enable the revolution slider described above to only be shown on mobile devices? Obviously with other pages, it is easy by simply “checking the box” in the specific row, but that is not an option with the Activity page. Specifically, what is the code to enable the following:
visibility=”hidden-sm,hidden-md,hidden-lg,visible-xs”
Thank you in advance for your help.
mladasParticipantthe url is nautility.com
the attached picture describes the issue (I think)…
Thank you much in advance!
Mike
Attachments:
You must be logged in to view attached files.mladasParticipantI am trying to adjust the responsiveness in a manner that “places sidebar below main content” for tablets – in EXACTLY the same manner that it is done for mobile devices. Specifically, tablet sidebar content becomes much to narrow and I would simply like it to show the same as mobile (below main content)
That said, I have searched pretty extensively and only come up with the following support thread, but all of the links no longer exist. I have also looked through responsive.css, etc but with no luck. Thank you
OCTOBER 24, 2013 AT 01:14 #5004
SQadmin
KEYMASTER
Posts: 4075
Hi Anchora, If I understand correctly you want something like this: http://d.pr/i/bIeZ .
It’s ok to have 3 columns but it’s not a good SEO practice to put sidebars before main content so, as a basic structure we sugest to have:1). In buddypress-before-wrap.php:
2). In buddypress-after-wrap.php:
I’m usin pull and push classes to switch columns at large resolutions. In mobile view these columns become 100% width and the main content is in its place, before the sidebars like this: http://d.pr/i/gPq4
If you like to hide sidebar at small(mobile) resolution you need to add “hide-for-small” class to the sidebar.
Regards,
RobertmladasParticipantI have not tried your change of: replace this
1
<div class=”post-content animated animate-when-almost-visible el-appear”>
with this
1
<div class=”post-content”> “po yet (though I have looked at the file).But, my question is will that remove the animation from loading “Activity”? While it works well on laptop, it is very, very slow on mobile and I’d simply like to get rid of the delay. Thank you.
mladasParticipantThank you much. Are you aware of a simple way to simply show 2 columns of “Activity”?
It’s obviously easy to embed the Activity Short Code into separate columns, but it will just show the same information. I can code, but am looking to see if any simple alternatives exist.
I promise this will be the last question on the topic before I start trying to build the capability and thanks again in advance!
-
AuthorPosts