Page 1 of 3 123 LastLast
Results 1 to 10 of 21
  1. #1
    Join Date
    Apr 2010
    Posts
    20
    Plugin Contributions
    0

    Default Changing ezpages header to an image..

    along with the search, currencies, who's online headers, etc.

    I have manipulated the code, added images, taken advice from other threads and I just cannot get my images to show up. Any advice would be much appreciated.

    Thanks!

  2. #2
    Join Date
    Aug 2008
    Posts
    244
    Plugin Contributions
    0

    Default Re: Changing ezpages header to an image..

    Link to your site............

  3. #3
    Join Date
    Apr 2010
    Posts
    20
    Plugin Contributions
    0

    Default Re: Changing ezpages header to an image..


  4. #4
    Join Date
    Aug 2008
    Posts
    244
    Plugin Contributions
    0

    Default Re: Changing ezpages header to an image..

    I'm guessing you've done the basics, i.e. saved the image to the correct file and then copied it accross from your ftp client...?

    If you have can you just post your css for one of those divs.

  5. #5
    Join Date
    Apr 2010
    Posts
    20
    Plugin Contributions
    0

    Default Re: Changing ezpages header to an image..

    I did. I saved the file in my images. Is it supposed to go somewhere else? I am clueless. I have edited the ez_pages_definitions.php to include my image, but now instead of an image it just shows "links.png" on my website (which is the image name) instead of the image. I know I'm missing a step somewhere.

  6. #6
    Join Date
    Aug 2008
    Posts
    244
    Plugin Contributions
    0

    Default Re: Changing ezpages header to an image..

    Have you added any padding for the image.

  7. #7
    Join Date
    Aug 2008
    Posts
    244
    Plugin Contributions
    0

    Default Re: Changing ezpages header to an image..

    If its showing that message instead of the image its usually because of the wrong coding, you don't need to edit that file if i understand what your trying to do correctly.

    To put background images onto headings that already exist you need to edit the stylesheet.

    #ezPagesHeading {
    background-image: url(../images/YOUR_IMAGE_NAME.jpg);
    background-repeat: no-repeat;
    margin: 0em;
    padding: 5px;
    }

    You could also look at:

    #navEZPagesTop

    #ezpages

  8. #8
    Join Date
    Apr 2010
    Posts
    20
    Plugin Contributions
    0

    Default Re: Changing ezpages header to an image..

    I am wanting my right side box to look just like the left. I am wanting to replace all of the text "important links, search, currencies, etc" with images.

    Is there a certain place in the stylesheet where

    #ezPagesHeading {
    background-image: url(../images/YOUR_IMAGE_NAME.jpg);
    background-repeat: no-repeat;
    margin: 0em;
    padding: 5px;
    }

    needs to go? I put it in mine and it didn't do anything.

    Thank you for all of your help!

  9. #9
    Join Date
    Apr 2010
    Posts
    20
    Plugin Contributions
    0

    Default Re: Changing ezpages header to an image..

    I tried to do the "search" text just now and this is what I did:

    I changed the sideboxes/search.php to this:

    require($template->get_template_dir('tpl_search.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_search.php');

    $title = zen_image($template->get_template_dir(BOX_HEADING_SEARCH, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . BOX_HEADING_SEARCH, HEADER_ALT_TEXT);
    $title_link = false;
    require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);

    and I changed my templates/english.php to this:

    // quick_find box text in sideboxes/quick_find.php
    define('BOX_HEADING_SEARCH', 'SEARCH.PNG');
    define('BOX_SEARCH_ADVANCED_SEARCH', 'Advanced Search');

    to include my image that I have saved for the search header.

    Now, my search heading is completely gone. Am I just making this too difficult?

  10. #10
    Join Date
    Aug 2008
    Posts
    244
    Plugin Contributions
    0

    Default Re: Changing ezpages header to an image..

    You are indeed.

    Put the files back to the state they were in. Un-do the hard code changes you made, the images can be done easy enough in the stylesheet. You should'nt be editing any php files.

    #ezpagesHeading {
    background-image: url(../images/side_box_header.jpg);
    }

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Add image to EZPages header link
    By fbords in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 31 Dec 2008, 11:21 AM
  2. Remove space between header image and ezpages breadcrumb
    By mr.chetanladdha in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 4 Nov 2008, 06:57 PM
  3. Image behind ezpages header links?
    By webgalore in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 17 Sep 2008, 01:35 AM
  4. Header image covers Categories Tab Menu & EZPages
    By neszz in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 23 Aug 2008, 06:02 PM
  5. Changing Header Image!
    By SteveeF in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 18 Jun 2008, 09:08 PM

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