Jump to content
Sign in to follow this  
Graham

Logo Size

Recommended Posts

This question has probably been asked before, but I couldn't find a thread despite searching.

How do I increase the size of the shop logo ?

The software appears to re-size it to a default max no matter what size image I upload.

To me it looks very small

https://testvalleymodels.co.uk

Share this post


Link to post
Share on other sites

In the Foundation skin template main.php, near line 35:

Find:

            <div class="row marg-top" id="top_header">
               <div class="small-4 large-3 columns">
                  <a href="{$ROOT_PATH}" class="main-logo"><img src="{$STORE_LOGO}" alt="{$CONFIG.store_name}"></a>
               </div>
               <div class="small-8 large-9 columns nav-boxes">
                  <div class="row" id="nav-actions">

Change to:

            <div class="row marg-top" id="top_header">
               <div class="small-12 large-8 columns">
                  <a href="{$ROOT_PATH}" class="main-logo"><img src="{$STORE_LOGO}" alt="{$CONFIG.store_name}"></a>
               </div>
               <div class="small-12 large-4 columns nav-boxes">
                  <div class="row" id="nav-actions">

For that row, we are changing the ratio of the logo area to searchbar area from 3:9 to 8:4 when viewed on a large width browser window. (We are also changing the ratio when viewed on a small and medium width browser window from 4:8 to 12:12 - which forces the two areas to stack instead of sitting side-by-side.)

You may need to have CubeCart clear its internal cache of rendered skin templates (admin, Maintenance, Rebuild tab).

Share this post


Link to post
Share on other sites

If you are making changes to the foundation skin, ensure that you create a "new" skin called something different so that your changes are not over-written when doing an upgrade

See the KB article https://support.cubecart.com/knowledgebase/article/View/202/46/how-do-i-create-a-custom-skin-or-template

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...