Move "Tags" and create a break

This topic contains 13 replies, has 2 voices, and was last updated by  Alex Rollin 6 years, 6 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #402548

    Wuuza
    Free User
    Post count: 18

    Hey everyone,
    two single Questions and hopefully some help πŸ™‚

    I don’t really need a Membership at this time, sorry for this :(, but i want to get this snippet, if it is possible, please? πŸ™‚

    https://wpgeodirectory.com/support/topic/listing-details-page/#post-141900

    I want to move the “Category” and “Tags” below the profile tab at the detailpage.
    ———————————-

    And my second question, can you help me to create a break after every title in the detailpage right sidebar?
    After the Adress, Telephonnumber, Email and so on, i want a break and in the new line the information i added.

    Kind Regards πŸ™‚

    #402576

    Alex Rollin
    Moderator
    Post count: 27815

    Hello!

    There are additional snippets here to change the tab order:

    https://wpgeodirectory.com/re-order-tabs-in-a-listing-detail-page/

    And more here: https://wpgeodirectory.com/re-order-tabs-in-a-listing-detail-page/

    PHP Snippets use this plugin: https://wpgeodirectory.com/docs/useful-plugins/#snippets

    Other styles and CSS can be added at GD -> Design -> Scripts

    If you need help adding one, just let us know which one.

    Let us know how that works for you

    #402582

    Wuuza
    Free User
    Post count: 18

    Hy, Thank you for your fast reply.
    I don’t want to re-order the tabs, i want to move the ” Attraction category” and “Attraction tag” Content right under the Hab Content and not below the slider and above the Tabs.

    Greeting

    #402598

    Alex Rollin
    Moderator
    Post count: 27815
    #402643

    Wuuza
    Free User
    Post count: 18

    Hy,
    that’s the Thread i’ve linked in my first post, but i can’t read this w/o Membership.
    And at this point i don’t really need one only for this snipped πŸ™

    #402681

    Alex Rollin
    Moderator
    Post count: 27815

    Hello!

    You just want to copy from that page?

    
    
    remove_action('geodir_details_main_content', 'geodir_action_details_taxonomies', 40);
    add_action('geodir_details_main_content', 'geodir_action_details_taxonomies', 85); 
    #402722

    Wuuza
    Free User
    Post count: 18

    Thank you so much, that was i can’t saw, because the Member area πŸ™‚

    Nearly perfect, Thank you Alex! πŸ™‚

    One question please, can you told me which template i need to edit to create a <br /> after every Sidebar Headline or at a specified headline there.

    The “Zeit” Areas looks really strange or how i realize a headline in a -tag (screenshot)

    Regards πŸ™‚

    #402751

    Alex Rollin
    Moderator
    Post count: 27815

    Hello!

    This is what I have to point you at for now.

    https://wpgeodirectory.com/add-custom-body-classes-to-wordpress/

    If it doesn’t help, I would recommend opening up the template files and taking a look.

    Thanks!

    #402865

    Wuuza
    Free User
    Post count: 18

    Hello,
    but it don’t really help. I now i can add custom class to the custom fields in sidebar, but tried something i’ld find with google to force a break at every custom Title with css, but i don’t really work.

    I did them <.strong> with this code

    
    
    .geodir-i-category, .geodir-i-location, .geodir-i-time, .geodir-i-contact {
    	font-weight: 800;
    }
    

    If you could helf me to get some line breaks after the title it would be awesome πŸ™‚

    Adress:

    <br />

    Time:

    <br />

    and so on πŸ™‚

    #402873

    Alex Rollin
    Moderator
    Post count: 27815

    Hello!

    Do you mean

    “I want to insert a <br /> after the words Kategorie, Addresse, Zeit. I want the value for those fields to appear on the next line.”

    Is that a correct statement?

    And you are looking for which template or hook to alter?

    #402878

    Wuuza
    Free User
    Post count: 18

    Of course it is, sorry for my bad english πŸ™‚

    #402929

    Alex Rollin
    Moderator
    Post count: 27815

    Hello!

    Her’s a way to do something similar with CSS

    https://stackoverflow.com/questions/10933837/line-break-like-br-using-only-css

    Something like this (not tested)

    `.geodir-i-location {
    display:inline;
    }
    .geodir-i-location:after {
    content:”\a”;
    white-space: pre;
    }’

    You may find some others by searching through the forum:

    https://wpgeodirectory.com/support/reply/260977/

    Let us know how it goes!

    #403003

    Wuuza
    Free User
    Post count: 18

    Hy,
    i also use google, but haven’t found this attempt.

    So much thank you Alex, now im totally happy at this point and this one works flawless πŸ™‚

    ‘.geodir-i-location:after, .geodir-i-category:after, .geodir-i-time:after{
    content:”\a”;
    white-space: pre;
    }’

    The code in the forum links won’t change anything, i’ve tried them, but it don’t work.
    You can take i look if u want, but my problems are fixed πŸ™‚

    Thank you so much Alex :)!!!

    #403039

    Alex Rollin
    Moderator
    Post count: 27815

    Hello!

    Thanks for being patient, looking forward to seeing your site!

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

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

Open Support Ticket