Replace clip cart search_area

Community Forums Forums Design Tips and Tricks Replace clip cart search_area

This topic is: not resolved

This topic contains 7 replies, has 2 voices, and was last updated by  Gradient 1 year, 3 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #50830

    Gradient
    Participant
    Post count: 32

    Hello.

    I’m building a website using the Clip Cart theme. I would like to place a phone number in a prominent position on each page and I think the ideal place to put it is where the search field currently is.

    Is it possible to replace the search field with a text area ? When I debug and inspect the element, I found it is <div id=”search_area”>, but I’ve no idea if this can be replaced with a text box or similar?

    Can anyone advise?

    Many thanks,
    Kier.

    http://simply-logs.co.uk/
    #50838

    braddalton
    Participant
    Post count: 10253

    Hard to test this because i don’t have a copy of that child theme.
    [php]
    add_action( ‘genesis_header_right’, ‘add_phone_number’ );
    function add_phone_number() {
    echo ‘<div class="ph-num">555 55 55</div>’;
    }
    [/php]


    #50843

    Gradient
    Participant
    Post count: 32

    Thanks Brad, I had a play with that but it didn’t have the desired effect !

    That appeared to add a new widget-area to the header. It appears that the search_area is in the secondary_area.

    I’ve left the change in there for now, if you have a moment to look.

    Thanks.

    #50844

    braddalton
    Participant
    Post count: 10253

    Can you email me a copy of your theme please. brad@wpsites.net


    #50845

    braddalton
    Participant
    Post count: 10253
    #50847

    Gradient
    Participant
    Post count: 32

    Tried the second option – that doesn’t appear to have an effect on the page (I searched the page source and found no reference to it). Sorry to be a pain !

    Appreciate you’re trying to help me out here – am I okay to send over the theme ? I’m not breaking any T&Cs am I, and will end up getting water boarded or something similar ?!

    #50851

    braddalton
    Participant
    Post count: 10253

    I will only use it to test code for support here.


    #50863

    Gradient
    Participant
    Post count: 32
    This reply has been marked as private.
Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.