Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Feb 2008
    Location
    London, UK
    Posts
    44
    Plugin Contributions
    0

    Default css/html index page

    www.easymail4you.co.uk

    I want to align the text "advanced search" to the left. Thought that the style sheet was the way forward, but the code has no id or class

    <td align="right" colspan="2">
    <a href="http://www.easymail4you.co.uk/preprod/zen/index.php?main_page=advanced_search">Advanced Search</a>
    </td>

    So how to change the index html??
    Thanks

  2. #2
    Join Date
    Feb 2008
    Location
    London, UK
    Posts
    44
    Plugin Contributions
    0

    Default Re: css/html index page

    Sorry one more I also want the search above the text. Thankx Zenners

  3. #3
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: css/html index page

    This looks like a hack of tpl_main_page, or perhaps tpl_product_info_display.

    Open up each of these files. They are probably in the free_blue templates folder. The first could be in a sub-folder called "common", the second may be in the "templates" sub-folder.

    You can use ADMIN...TOOLS...DEVELOPER TOOL KIT to see its most likely base file.

    Search ( in the bottom-most field) for:- search in main

    When you find it, add your own css identifier, then give it a style in your stylesheet.

  4. #4
    Join Date
    Feb 2008
    Location
    London, UK
    Posts
    44
    Plugin Contributions
    0

    Default Re: css/html index page

    Found my_template/templates/tpl_index_default.php

    Which part can I add a class to left align the words advanced search (soon to be a button)

    <?php require($template->get_template_dir('tpl_modules_search_in_main.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_search_in_main.php'); ?>

  5. #5
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: css/html index page

    Karen,
    do you want it all the way to the left in that box? if you do then use:
    Code:
    #searchInMainTable a {float: left;}
    and if it to far left then use some margin-left to push it back to the right a bit
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  6. #6
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: css/html index page

    tpl_modules_search_in_main.php

    ... is the file you'll probably need to open to find the appropriate DIV

  7. #7
    Join Date
    Feb 2008
    Location
    London, UK
    Posts
    44
    Plugin Contributions
    0

    Default Re: css/html index page

    Thanks so much.

    #searchInMainTable a {float: left;} sorted

 

 

Similar Threads

  1. How do I add an HTML index page to the Classic Template?
    By mishutkadesign in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 17 Sep 2011, 07:23 PM
  2. Home page link doesn't point to index.html
    By muddywa2 in forum General Questions
    Replies: 10
    Last Post: 18 Nov 2010, 05:24 AM
  3. html index page question
    By russa2 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 Dec 2008, 02:21 PM
  4. css override - index page
    By poosk in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 2 Nov 2007, 11:03 PM
  5. Calling EZ-Page bar from a static index.html?
    By tqualizer_man in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 5 Dec 2006, 01:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg