Change CPT Font Size

This topic contains 8 replies, has 2 voices, and was last updated by  Jeffrey Williams 8 years, 3 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #308823

    Jeffrey Williams
    Buyer
    Post count: 72

    Hello,

    The font in the CPT is too large. I’d like to change it.

    I reviewed, and tried this forum post, but was unsuccessful.

    https://wpgeodirectory.com/support/topic/cpt-categories-font-size-colour-in-sidebar/

    How would I change the size of the CPT font?

    Thanks.

    #308842

    Kor
    Moderator
    Post count: 16516

    Hi Jeffrey,

    Try using the custom CSS code below and see if it works for you. Insert into GD > Design > Script > Custom Style CSS

    
    
    .geodir_cpt_categories_widget h3 {
        font-size: 15px;
    }

    Thanks!

    #308849

    Jeffrey Williams
    Buyer
    Post count: 72

    Hi Kor

    Tried the code, but no luck. It looks the same.

    Do I need to do something else?

    Thanks for your help.

    #308850

    Kor
    Moderator
    Post count: 16516

    Hi Jeffrey,

    Try giving it an “!important” element and see if it works better. If it doesn’t work still, do you think you can share WP temp admin access to your site so we can take a better look? You can post the details here using the private reply option below.

    
    
    
    .geodir_cpt_categories_widget h3 {
        font-size: 15px!important;
    }

    Thanks!

    #308852

    Jeffrey Williams
    Buyer
    Post count: 72
    This reply has been marked as private.
    #308861

    Kor
    Moderator
    Post count: 16516

    hi Jeffrey,

    The code isn’t there when I checked on it. I’ve just added it for you and it seems to work now http://prntscr.com/daprb3 . Could you please check on it now?

    Thanks!

    #308862

    Jeffrey Williams
    Buyer
    Post count: 72

    Wasn’t there? That’s strange. I did it, and must have cleared the cache a dozen times. Weird.

    Well thanks for doing that. Looks like the categories were fixed, but the headings are still too large (Places, Events, etc.)

    Is it possible to make the headings the same size as the other headings (Featured Listings, My Dashboard, Products, etc.)?

    Thanks for your help! I really appreciate it. 🙂

    #309226

    Kor
    Moderator
    Post count: 16516

    Hi Jeffrey,

    Use the custom CSS code listed below and change the font size to your liking. Let us know how it goes.

    
    
    /* Category title */
    h2.gd-cptcat-title {
        font-size: 15px!important;
    }
    
    /* Widgets title */
    h3.widget-title {
        font-size: 15px!important;
    }
    #309448

    Jeffrey Williams
    Buyer
    Post count: 72

    Hi @kor

    That worked perfectly. Thanks so much for your help!

    Have a great day. 🙂

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