filter to change classes and divs on different page templates

This topic contains 11 replies, has 2 voices, and was last updated by  Stiofan O’Connor 7 years, 11 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #399835

    alench
    Expired Member
    Post count: 12

    Hello,

    I want to create filter in child theme to change div main container and delete class container from listing page and change it with geodir-content.

    <div id=”main-container” class=”container”>listing content</div>

    https://seventhqueen.com/themes/kleo/business-directory/places/hotels/

    Change with:

    <div id=”geodir_wrapper”>listing content</div>

    To achieve supreme directory style on listing page:

    https://wpgeo.directory/supreme-directory/places/shopping/

    I wrote Jquery script but I think that is not best solution because of page loading. I want to change/remove divs and classes on diferent page templates.

    Can you please help me with example above?

    Thanks for help,

    A

    #399848

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hello,

    I doubt changing one class would provide a solution, there are ways to change the classes in the theme compatibility settings but as i said i doubt that will give you what you want.

    Stiofan

    #399852

    alench
    Expired Member
    Post count: 12

    Hello,

    I have supreme directory as plugin with geodirectory compatibility and works fine on Kleo (home, detail page), I yust have problem with listing page. If I change div as I say above I get full width like as intended.

    I don’t want edit Geodirectory templates so I need filter which change/remove div/class on specific template.

    Thanks for help,

    A

    #399861

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    !I have supreme directory as plugin” where id u get this plugin?

    Stiofan

    #399886

    alench
    Expired Member
    Post count: 12
    This reply has been marked as private.
    #399971

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    That user customised his site a lot, we do not provide customisations, your best bet would be to ask that user how he did it and if he will share.

    My question would be why not just use Supreme Directory theme?

    Stiofan

    #399972

    alench
    Expired Member
    Post count: 12

    Hello,

    thanks for answer, I want Geodirectory with all functions from Kleo theme.

    Can you just help me please with question why places is not showing?

    Thanks for help,

    A

    #400004

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    We support our own products and our own code, we don’t support other people products or customisations. If you need help with customisations please hire a developer.

    Thanks,

    Stiofan

    #400008

    alench
    Expired Member
    Post count: 12

    Hello,

    I didn’t expect coding.

    My last question was only about why places don’t show on map.

    “I also don’t know why doesn’t show places on map. Is maybe because sync tags don’t go to the end? (screen in attachment). I have set default location and Google map API.”

    Thanks for help,

    A

    #400012

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I can’t login with your provided details also i don’t know what page you are referring to?

    Stiofan

    #400017

    alench
    Expired Member
    Post count: 12
    This reply has been marked as private.
    #400040

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    You have JS errors on the page related to the plugin customisation.
    It seems broken somehow.

    Stiofan

Viewing 12 posts - 1 through 12 (of 12 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount