CPT SUPREME THEME AND SEARCH BAR

This topic contains 4 replies, has 2 voices, and was last updated by  maria 7 years, 9 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #381909

    maria
    Expired Member
    Post count: 35

    1. CPT in SUPREME THEME
    When a CPT has no physical location (general >select CPT to disable physical location) the header container has 1170px but when a CPT has physical location the header container has 1366px as all other pages.
    I would like to have always 1366px for all pages to maintain the same header (logo and menu) layout. Is it possibel to insert a code snippet to fix it?

    2. CPT in SEARCH BAR
    I have 5 CPT all having listings. I want only three in the search bar. Is it possible to select wich CPT appears in the search bar?

    #381916

    Kor
    Moderator
    Post count: 16516

    Hi Maria,

    I believe both can be achieved using custom CSS. Please 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.

    #1 Please share both URL of the pages.

    #2 Which three do you like to display?

    #381919

    maria
    Expired Member
    Post count: 35
    This reply has been marked as private.
    #381967

    Kor
    Moderator
    Post count: 16516

    H Maria,

    #1 Use this custom CSS . Insert into Gd > Design > Scripts > Custom Style CSS

    
    
    @media (min-width: 1200px) {
    .container, .geodir-common, .geodir-breadcrumb, .geodir_full_page .widget {
        width: 1366px!important;
    }
    }

    #2 Use this

    
    
    select.search_by_post option:nth-child(2),
    select.search_by_post option:nth-child(1),
    select.search_by_post option:nth-child(3) {
        display:none!important;
    }
    #386128

    maria
    Expired Member
    Post count: 35

    Done !!

    Best support team !!

    Thanks.

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