CSS changes to search pages

This topic contains 5 replies, has 3 voices, and was last updated by  Stiofan O’Connor 6 years, 1 month ago.

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

Open Support Ticket
  • Author
    Posts
  • #451622

    Nathan Paveley
    Full Member
    Post count: 15

    Can you point me in the right direction to use CSS to target the listings/search/category/tags pages. I am trying to remove the map and adjust the layout. I tried page-id-347 (which is the GD Archives page id) and page-id-344 (GD Search) but had no luck. I am not the best with CSS or php and with V1 I found most customisation answers I needed on the forums. Code below :

    
    
    	.page-id-344 .sd .container div.entry-content {
      		width: 80%;
    		Float: inherit;}
    
    	.page-id-344 .sd .sd-sidebar{
    		display:none;}
    
    	.page-id-344 .sd .entry-content.sidebar-right {
    	  border-right: none}
    

    Thanks in advance

    #451638

    Guust
    Moderator
    Post count: 29970

    Go to your WP pages and edit the shortcodes etc on the GD Archive and GD Search page.
    For example, delete the map shortcode.

    Thanks

    #451656

    Nathan Paveley
    Full Member
    Post count: 15

    Hi Guust,

    The GD Search page is set with these shortcodes :
    [gd_search]
    [gd_loop_actions]
    [gd_loop layout=1]
    [gd_loop_paging]

    The GD Archive page is set with these shortcodes :
    [gd_category_description]
    [gd_search]
    [gd_loop_actions]
    [gd_loop layout=1]
    [gd_loop_paging]

    So no map shortcode there but it still shows is one of the other shortcodes picking up the map? I am using Supreme V2 so not sure if that is what is affecting it?

    Thanks

    #451671

    Guust
    Moderator
    Post count: 29970

    I guess that is the case indeed.
    Have you turned off physical address for your CPTs?
    Supreme will only remove the map if you have a CPT without addresses.

    Let us know.

    #451679

    Nathan Paveley
    Full Member
    Post count: 15

    Hi Guust

    Removing the physical address works however I want listings to have a physical address so that isn’t really a solution for me.

    I was hoping there would be a way to target the specific pages with CSS like I did with V1.

    If you know other suggestions let me know and I will try, otherwise I will keep trying.

    Side note : The tag and category listings pages has the adjustable map sidebar however the normal search feature doesn’t. Just looks a bit weird having the option on one and not the other.

    #451910

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Nathan, the search page should have that also, i’ll add it and update you here when i have.

    Thanks,

    Stiofan

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