Text frame

This topic contains 10 replies, has 5 voices, and was last updated by  Vikas 10 years, 7 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #4235

    mahmut
    Free User
    Post count: 8

    Hello,

    When I write a text, the frame size of the left- and rightside are not the same. That is one thing.See attachment. F
    or example the text starting “Wij bieden een grote selectie ge..” . The word must be “geschenken”, normally when the line is full it will write any word fully in the next line or place a mark like for a word “tomorrow” for instance “to-” and go on the next line continuing the word “morrow”.
    How can I change these 2 questions?

    Kind regards,
    Mahmut

    #4237

    Guust
    Moderator
    Post count: 29970

    Add this to the stylesheet of your child theme:

    p {
    -ms-word-break: normal;
    -ms-word-wrap: normal;
    word-break: normal;
    word-break: normal;
    }
    #geodir_wrapper ul.geodir-tabs-content li {
    width: 99%;
    }

    Let me know how you went?
    Are you using the GDF-child theme?

    #4238

    Guust
    Moderator
    Post count: 29970

    Probably also

    #geodir_wrapper h1 {
    width: 99%;
    }

    if you want to use a <h1> heading in your profile tabs.
    (The “fijnste kristal en porselein” heading went outside the profile tab)

    #4244

    directory
    Expired Member
    Post count: 1502

    Hi Guust,

    How can I change the profile tab labels and their display order? I like to change “More Info” to “Downloads” and make it the last tab.

    #4266

    Paolo
    Site Admin
    Post count: 31206

    Changing Tab’s name can be done via language file.

    To move tabs order, you’ll need an action filters in your functions.php .

    I still need Vikas to exaplain me how though.

    I’m flagging this for him and we will let you know.

    Thanks

    #4270

    directory
    Expired Member
    Post count: 1502

    Thank you, Paolo.

    #4374

    mahmut
    Free User
    Post count: 8

    Hi Guust,

    Could you help me where to put it in the style sheet? I think I use only “Framework” see attachment.

    Kind regards,
    Mahmut

    #4395

    Paolo
    Site Admin
    Post count: 31206

    Please, make sure to use the child theme so that you can easily add everything to style.css file.

    Thanks

    #4423

    Guust
    Moderator
    Post count: 29970

    Like Paolo says, you have to activate the child theme.
    (It also looks like you have two installations of the framework? You should probably solve that first, did you copy on of the frameworks to try to edit it?)
    You have to leave all the files of the framework as they are, or you will get upgrade problems.
    Then activate the GDF child theme. You will find a style.css file there where you can add all the suggestions I made earlier.
    Alternatively, you can do that at GDF options > Quick Code > CSS Code

    #4509

    mahmut
    Free User
    Post count: 8

    thanks again, I will look into it and will let you know if it works.

    Kind regards,
    Mahmut

    #4519

    Vikas
    Full Member
    Post count: 1128

    Hi,
    Changing tab order is bit trick at this moment.
    System supports geodir_detail_page_tab_list_extend filter to extend the tab array.
    this filter accepts an array
    so u can write something like this in ur theme functions.php

    
    
    
    add_filter('geodir_detail_page_tab_list_extend', 'geodir_detail_page_tab_list_extend') ;
    
    function geodir_detail_page_tab_list_extend($tab_array)
    {
     // here u can modify this array, u can create a completely new one too. 
    return $tab_array ;
    }
    

    To check the array structure plz go to custom_functions.php geodirectory core and search for this ‘geodir_detail_page_tabs_array()’.

    Please let me know if it helps.

    Thanks

Viewing 11 posts - 1 through 11 (of 11 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