This topic has 11 replies, 3 voices, and was last updated 7 years by Radu.

  • Author
  • #147350
     vulkash
    Participant

    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 🙂

     

    #147388
     Laura
    Moderator

    Hello, 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 solution

    Laura 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 🙂

    #147431
     vulkash
    Participant
    This reply has been set as private.
    #147626
     Laura
    Moderator

    Hello, 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 solution

    Laura 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 🙂

    #147672
     vulkash
    Participant
    This reply has been set as private.
    #147862
     Laura
    Moderator

    Hello, 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 solution

    Laura 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 🙂

    #147889
     vulkash
    Participant

    okay thank you 🙂

    #148088
     Radu
    Moderator

    Hi,

    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 solution
    #148089
     Radu
    Moderator

    The 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 solution
    #148667
     vulkash
    Participant

    thanks you ill try that 🙂

    #148668
     vulkash
    Participant

    And 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;}
    
    #148740
     Radu
    Moderator

    Hi,yes, if that page haves that ID yes

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?