-
Author
-
December 17, 2016 at 20:53 #147350vulkashParticipant
Hello i modified member-loop.php and set the code like this for get more colums :
<div class=”three columns”>
My problem is that i want set this modification in a specific page and not on every page so how can i do that ?
Other similar question, i created a page called “my home” and i want modify the css without change other page.
I tryed two things :
“.directory.myhome” and “.directory.my-home” But isnt working 🙁
Can you help me ?
thank you 🙂
December 19, 2016 at 06:07 #147388LauraModeratorHello, what do you mean by specific page? The members loop is the members directory
The page id wont be its name but the page number, check at google dev tools and you should see it at the very top
or use .page-id-XXX ( xxx is the page id, you can see the page it by editing it and checking the browser url )Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
December 21, 2016 at 06:59 #147626LauraModeratorHello, you could create a new template based on the members-loop.php to use it at the other page. If you change the members-loop.php all pages that use it will also change, so you need to copy it and create a clone with another name and with your change 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
December 23, 2016 at 09:35 #147862LauraModeratorHello, will assign the ticket to a higher support level who can help and advise you in your query.
Thanks! ?Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
December 27, 2016 at 16:49 #148088RaduModeratorHi,
Using this CSS you will have 4 columns on the member’s page only.
COPY CODE.members div#members-list .four.columns {width: 25%;} .members #members-list .four.columns:nth-child(n+1) {clear:right !important;}
If you have any other questions let me know
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 27, 2016 at 16:50 #148089RaduModeratorThe homepage file template it’s located here : /wp-content/themes/sweetdate/page-templates/front-page.php
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 4, 2017 at 06:37 #148668vulkashParticipantAnd if i want target with the “page-id” can i do that like that ?
COPY CODE.page-id-1028 div#members-list .four.columns {width: 25%;} .page-id-1028 #members-list .four.columns:nth-child(n+1) {clear:right !important;}
January 4, 2017 at 18:19 #148740RaduModeratorHi,yes, if that page haves that ID yes
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
You must be logged in to reply to this topic.