Shortcode layout

This topic contains 12 replies, has 3 voices, and was last updated by  Paolo 7 years, 6 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #297757

    jotomas
    Buyer
    Post count: 802

    Hi,

    Please, find enclosed an screenshot with these two shortcodes:

    [gd_popular_post_category title=Categories category_limit=40]

    [gd_cpt_categories sort_by=az post_type=gd_place hide_empty=true show_count=true]

    How can I make the second one look more like the first one?

    I mean:

    1) Smaller font size.
    2) Smaller line height.
    3) Change color of post count and post type underline from red to black.

    I look forward to your reply.

    Thanks and regards.

    #298126

    Paolo
    Site Admin
    Post count: 31206

    Link please? Screenshots can’t be inspected…

    #298148

    jotomas
    Buyer
    Post count: 802

    Hi Paolo,

    Here it is:

    http://inforoses.com/test-pagines-grogues/

    I look forward to your news.

    Thanks and regards.

    #299427

    Kor
    Moderator
    Post count: 16516

    Hi jotomas,

    I’m sorry for the delay. I’ve just checked your Website and those texts can be customized using the custom CSS code below. Insert in GD > Design > Scripts > Custom Style CSS

    Customizing the category texts

    
    
    h3.gd-cptcat-cat {
        font-size: 14px;
        line-height: 14px;
    }

    Customizing the Post Count

    
    
    .gd-cptcat-li .gd-cptcat-count {
        color: #000;
        font-size: 13px;    
    }
    #302867

    jotomas
    Buyer
    Post count: 802

    Hi Kor Chung,

    Thank you very much for your reply.

    I can not get to change the line height of the list of categories. I changed “line-height: 14px;” to different values, but nothing changes.

    Also, could you please let me know how to change the color of the underline under the Place name from the current red to black?

    You can see here how it looks now after inserting your code:

    http://inforoses.com/test-pagines-grogues/

    I look forward to your news.

    Thanks and regards.

    #302870

    jotomas
    Buyer
    Post count: 802

    Hi Kor Chung,

    You can forget my previous comment.

    I have just started to try SiteOrigin CSS plugin and I have found the code:

    .entry-content ul {
    height: 8px;
    }

    .gd-cptcat-row .gd-cptcat-title {
    border-bottom-color: #000000;
    }

    Thanks and regards.

    #302871

    jotomas
    Buyer
    Post count: 802

    Hi again Kor Chung,

    It was too good to be true.

    This brokes the site in other places:

    .entry-content ul {
    height: 8px;
    }

    But I do not find the way to adjust it only for this GD layout.

    Could you help??

    Thanks once again and regards.

    #303217

    Kor
    Moderator
    Post count: 16516

    Hi jotomas,

    Could you try this custom CSS code? This should only target the category widget.

    
    
    .geodir_cpt_categories_widget ul {
    height: 8px;
    }

    Thanks!

    #303886

    jotomas
    Buyer
    Post count: 802

    Hi Kor Chung,

    Great!

    Thanks a lot!

    #306101

    jotomas
    Buyer
    Post count: 802

    Hi Kor Chung,

    I have just seen that with Microsoft Edge browser on desktop and also on mobiles with Windows Phone and iOS, a dot appears before each category a little bit moved upwards, while this does not happen with Chrome (see attached screenshots).

    How could I get rid of the dots with any browser and device?

    I look forward to your reply.

    Thanks once again and best regards.

    #306364

    Paolo
    Site Admin
    Post count: 31206

    HI,

    please add this CSS:

    
    
    .gd-cptcat-row .gd-cptcat-li {
        list-style: outside none none;
     }

    Thanks

    #306421

    jotomas
    Buyer
    Post count: 802

    Hi Paolo,

    Thanks a lot!

    #306435

    Paolo
    Site Admin
    Post count: 31206

    You are welcome 🙂

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

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

Open Support Ticket