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

    Hey guys, would I be able to replace the search box with H1 text?

    Possible just one line, or maybe two such as

    Tel: 123-456-789 (h1)

    (Email address hidden if logged out) (p)

    Last question.

    thanks

    #68440

    Hi SSol,

    Yep! It’ll require a bit of css and html to add it in exactly how you want it. Open up header.php and search for”

    get_search_form();

    You’ll need to delete that line or comment it out with /* before and */ after. Right below the get_search_form is the beginning of the social bookmarks UL which displays the twitter, facebook, and rss icons. You can either put your new div before or after this depending on how you want to build the container/css,

    #68441

    I am trying to add an ecwid mini cart widget on the top right side where the original search box was located but as you can see in the picture it is on the bottom left

    Widget-problem.png

    I keep trying to change the div code for position for example:

    div.ecwid-minicart {

    position: absolute;

    right: 100px !important;

    top: 0px !important;

    }

    I change the numbers and nothing

    I have removed the get_search_form(); code also

    #68442

    Hey!

    Please provide a link to the website.

    Regards,

    Peter

    #68443
    #68444

    You need to use following code instead:

    html#ecwid_html body#top .ecwid {
    float: right;
    }

    It’s just a starting point but it shows you the right direction for your custom styles. Tools like Firebug can help you a lot when it comes to css customizations.

    #68445

    that code helped alot but to get a better location i used

    html#ecwid_html body#top .ecwid {

    position: absolute;

    right: 0px;

    top: 0px;

    #68446

    Hi!

    Awesome :)

    Regards,

    Peter

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

The topic ‘Replace search box with text’ is closed to new replies.