Home › Forums › Aside WordPress Theme › About filters…
- This topic has 26 replies, 2 voices, and was last updated 10 years, 8 months ago by
SeaTheme.
-
AuthorPosts
-
August 28, 2015 at 1:25 pm #8191
isnaj
ParticipantHi again,
I have a lot of categories I want to display as filters with my portfolio.
On smartphones, it is not very beautiful because I have a long list of filters, they fill all the screen.Is there a way on smartphone to allow user to use all these filters, with a more esthetic and simpler way (like the “floating” one which seems to not work with smartphones) ?
Thank you.
August 29, 2015 at 2:14 am #8198Hi,
If there are too many tags for filter, there is not good solution, because the mobile screen size is not big enough. You could try to use the css to show floating filter on mobile, go to Aside / General Settings / Custom Css,Paste the style code to Custom Css
@media (max-width: 480px) { .filter-floating ul {width: 300px;} .responsive-ux .hidden-phone.filter-floating-triggle, #header.mobile_active ~ #main-wrap #logo-page, #header.mobile_active ~ #main-wrap .filter-floating {display: block !important;} }Cheers!
Bwsm – uiueux.com
August 29, 2015 at 11:09 am #8203isnaj
ParticipantI will try this later, and keep you updating. Thank you )
September 3, 2015 at 10:22 am #8251isnaj
ParticipantHi,
I tried this, and it is better. But I have 3 questions now :
1.
Filter button is fixed on smartphones even if I made it floating. How can i do to make it floating on smartphones ?2.
When I press filter button to show filters, I’m not able to press filter button again to mask filters. How can I do it ?3.
A little display problem… How can I fix it ? http://hpics.li/1d16a56Thank you for support
September 3, 2015 at 1:16 pm #8257This reply has been marked as private.September 3, 2015 at 2:15 pm #8258isnaj
ParticipantWhere am I supposed to send you these informations confidentially ?
September 3, 2015 at 7:27 pm #8259isnaj
ParticipantOh ok, found it.
You need my wordpress login that’s right ? FTP too ?September 4, 2015 at 12:58 am #8263This reply has been marked as private.September 4, 2015 at 7:28 pm #8264isnaj
ParticipantThis reply has been marked as private.September 5, 2015 at 2:15 am #8265This reply has been marked as private.September 5, 2015 at 3:19 pm #8266isnaj
ParticipantThis reply has been marked as private.September 6, 2015 at 8:38 am #82671) edit the portfolio mod, activate “Filter Fixed”
2)
3) update the Custom Css:
.filter-floating ul { text-align: left; background-color: #fafafa; width:600px; } @media (max-width: 480px) { .responsive-ux .hidden-phone.filter-floating-triggle, #header.mobile_active ~ #main-wrap #logo-page, #header.mobile_active ~ #main-wrap .filter-floating {display: block !important;} .filter-floating ul { width: 240px; } }September 6, 2015 at 11:09 am #82692) changed 2 file:
2.1)
js/custom.theme.js
add to line 434if(jQuery('.filter-floating').length) { jQuery('.filter-floating').on({ 'touchstart click' : function(){ if(jQuery(this).find('ul').is(":visible")){ jQuery(this).find('ul').css('display','none'); } else { jQuery(this).find('ul').css('display','block'); } return false; } }); }2.3)
css/pagebuild.css
line 541-555, change / add:.touch .filter-floating ul { display: none; } .filter-floating ul li { float: none; } .no-touch .filter-floating:hover ul, .touch .filter-floating ul { opacity: 1; visibility: visible; z-index: 999; -webkit-transform: translateX(-20px); -moz-transform: translateX(-20px); -ms-transform: translateX(-20px); -o-transform: translateX(-20px); transform: translateX(-20px); }September 6, 2015 at 5:08 pm #8273isnaj
ParticipantWonderful, better than I expected.
Thank you…September 6, 2015 at 5:17 pm #8274isnaj
ParticipantOops, I’ve just seen a little bug.
On smartphone, when I click on a tag, it closes filter choice but it does not filter my pictures at all.
On computer it works like a charm.September 7, 2015 at 2:39 am #8283fixed
js/custom.theme.js file update:
if(jQuery('.filter-floating').length) { jQuery('.filter-floating-triggle').on({ 'touchstart click' : function(){ if(jQuery(this).siblings('ul').is(":visible")){ jQuery(this).siblings('ul').css('display','none'); } else { jQuery(this).siblings('ul').css('display','block'); } return false; } }); }another thing, better re-organize the categories. I noticed you choose all category in portfolio mod, you need add a category(make other listed tag as it’s sub-categories), choose it in in portfolio mod.
September 7, 2015 at 12:12 pm #8295isnaj
ParticipantOk, thank you for your advices.
On smartphone, filter button is hidden by menu bar on the top. Could filter button go down on the screen ?Thank you. Amazing support ;).
September 7, 2015 at 12:27 pm #8299September 10, 2015 at 11:16 am #8323isnaj
ParticipantHi,
I also noticed that on iPhone 4S, it displays not very well.
I’m sorry to add work for you…September 11, 2015 at 5:14 am #8332Add it to custom css or last line of style.css
@media (max-width: 400px) { .filter-floating ul { width: 220px!important; } }October 9, 2015 at 10:51 am #8569isnaj
ParticipantHi,
I’m very close to have what I want. I’ve got just one little problem.
On smartphones like iPhone 4, or 4S, my website have a very strange behavior : it crashes, or fails to launch…Can you help me with that ? Thank you for your support.
October 10, 2015 at 1:44 am #8582please re-paste your wp-admin(url/user/pass) as private reply, I’ll log in to check it. (I removed the password for security
)October 10, 2015 at 8:56 am #8586isnaj
ParticipantThis reply has been marked as private.October 10, 2015 at 9:22 am #8588There are so many images in home page. The page is too heavy for mobile device. I added a pagination option.
October 10, 2015 at 6:14 pm #8593isnaj
ParticipantIndeed, it solved the crash problem.
But when I select a filter, it works only for the current page. I’m so sorry to add you more work again and again… Thank you… I appreciate your help.October 10, 2015 at 6:24 pm #8594isnaj
ParticipantIn fact, when I select a filter it works but people have to visit each page with pagination to be able to see pictures filtered. Is there a way to gather every filtered pictures ?
October 11, 2015 at 5:47 am #8597Yes, the filter only works for current page, there is not solution.
-
AuthorPosts
- You must be logged in to reply to this topic.
