Jump to content
Latest News: (loading..)
Gino D

store header image too big

Recommended Posts

that I can do. what is the best size to fit that area? I was hoping the software would resize or adjust the location of the blue bar with top/catalog. is there a way to push that bar down?

Share this post


Link to post
Share on other sites

The image size for the logo is taken from the real image size, there is no image size defined in the header where the logo is included:

includes/header.php:

  <div id="storeLogo"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'store_logo.png', STORE_NAME) . '</a>'; ?></div>

For more specific help please provide this information:

 

Share this post


Link to post
Share on other sites

1. Which version of osCommerce you are using? (you can find this at Admin > Tools > Version Checker).
    - Installed Version: osCommerce Online Merchant v2.3.4

2. Also indicate whether you are using standard osCommerce or the Responsive (a.k.a. "Community Edition", "Community Supported") version.
    -it is not mobile friendly

3. Is this a new install or an existing store?
    -new install

4. What version of PHP are you using?  (you can determine this by looking at Admin > Tools > Server Info)
    - PHP Version 5.3.29
   
5. Now you are ready to provide a detailed description of the problem you are having, including if applicable, the steps needed to reproduce it.  
    - where in the settings do I go to resize the header image?

http://www.rh2radio.com/index.php

Share this post


Link to post
Share on other sites
36 minutes ago, raiwa said:

The image size for the logo is taken from the real image size, there is no image size defined in the header where the logo is included:

includes/header.php:


  <div id="storeLogo"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'store_logo.png', STORE_NAME) . '</a>'; ?></div>

 

Then you can add image size to the tep_image function in the above line if you prefer to let the browser resize. Although it would be better to upload an image in the correct size because of loading time.

To make the  header  bigger to fit a bigger sized logo you can change the css for :

<div id="header"

 

But if your store is a new installation, consider stop working now and begin again from scratch with the reponsive community version which is the de facto actual OsCommerce version and the only recxommended to use for a new store:

 

 

You should use the edge download link

 

Share this post


Link to post
Share on other sites

it's a new install meaning it wasnt cobbled together with updates and such. it was the only version available through my host. it's been configured and some products added and honestly, I'd scrap the whole thing before starting over. it is, what it is at this point. 

32 minutes ago, raiwa said:

Then you can add image size to the tep_image function in the above line if you prefer to let the browser resize. Although it would be better to upload an image in the correct size because of loading time.

To make the  header  bigger to fit a bigger sized logo you can change the css for :


<div id="header"

how do I do that?

Share this post


Link to post
Share on other sites

You should consider it. It's not so a big thing. There are database migrating tools available.

Otherwise you can always post a commercial support enquiry to get it done for you.

If you are not familiar with basic css and html formatting, you probably will not get around with oscommerce.

Share this post


Link to post
Share on other sites
3 minutes ago, sales@rh2way.com said:

it's a new install meaning it wasnt cobbled together with updates and such. it was the only version available through my host. it's been configured and some products added and honestly, I'd scrap the whole thing before starting over. it is, what it is at this point. 

how do I do that?

stylesheet.css:

#header {
  height: 60px;
}

 

Share this post


Link to post
Share on other sites

thanks for pointing me to the right file to edit.

fixed.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×