Results 1 to 10 of 12

Hybrid View

  1. #1
    Join Date
    Apr 2012
    Location
    Louisville, Colorado, USA
    Posts
    116
    Plugin Contributions
    0

    Default Where in the php code would a background image on the home page be managed?

    I'm not talking about the Template CSS. That's already accomplished. Now I want to spin that image using CSS3 webkit animation, javascript, or whatever the simplest solution might be.

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,145
    Plugin Contributions
    11

    Default Re: Where in the php code would a background image on the home page be managed?

    No clue without at least a link to the site.

  3. #3
    Join Date
    Apr 2012
    Location
    Louisville, Colorado, USA
    Posts
    116
    Plugin Contributions
    0

    Default Re: Where in the php code would a background image on the home page be managed?

    Apparently different EZpages using varying content and varying processes results in the homepage background image being managed in varying modules, templates, or whatever.

    Try entelechy-publishing.com.

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: Where in the php code would a background image on the home page be managed?

    Quote Originally Posted by cyberbaffled View Post
    Apparently different EZpages using varying content and varying processes results in the homepage background image being managed in varying modules, templates, or whatever.

    Try entelechy-publishing.com.
    Just curious as to why you need to do this... Is there a good commercial / business / marketing reason? ... or just 'cause you want it there?

    Bear in mind, these sorts of gadgets (if they don't have a specific business reason for being there) add to page load, and earn penalties from search engines.
    20 years a Zencart User

  5. #5
    Join Date
    Apr 2012
    Location
    Louisville, Colorado, USA
    Posts
    116
    Plugin Contributions
    0

    Default Re: Where in the php code would a background image on the home page be managed?

    A significant proportion of ecommerce sites use animation to differentiate their site from hundreds of thousands of other sites. I share that motivation.

    Incidentally, what form do said 'penalties' take?

    Finally, now that I've addressed your curiosity, do you understand the php code sufficiently to answer the original question? The question is: where in the code is the homepage "background" image affixed to said homepage?

  6. #6
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,688
    Plugin Contributions
    9

    Default Re: Where in the php code would a background image on the home page be managed?

    Quote Originally Posted by cyberbaffled View Post
    A significant proportion of ecommerce sites use animation to differentiate their site from hundreds of thousands of other sites. I share that motivation.

    Incidentally, what form do said 'penalties' take?

    Finally, now that I've addressed your curiosity, do you understand the php code sufficiently to answer the original question? The question is: where in the code is the homepage "background" image affixed to said homepage?
    touche!

    after looking at your site, i'm not seeing different background images on different pages. perhaps you can point me to a page that makes use of a different image?

    i see all of your pages using this background image (if it were my site, i would change the name of the image to something simpler... but that's me...)

    http://entelechy-publishing.com/incl...ended-x-3).gif

    and that image as you stated in your original post got there utilizing css, and specially in:

    http://entelechy-publishing.com/incl...stylesheet.css

    as far as rotating said image, i would do it in css. plenty of ways to do it, but i think css is the easiest. a google search provides a number of examples:

    https://goo.gl/bm5hDn

    good luck!
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  7. #7
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,076
    Plugin Contributions
    15

    Default Re: Where in the php code would a background image on the home page be managed?

    Quote Originally Posted by cyberbaffled View Post
    The question is: where in the code is the homepage "background" image affixed to said homepage?
    Depends on what template you’re using!! Where you want the background to show! What contains the background!

    Most slip it into the body tag in stylesheat.css like:
    Code:
    body {background: url(../images/puzzle47.jpg);
    Or you can create a class for the container.

    And there are a ton of ways to spin containers with css3 or script, like my hamburger icon is animated with css3 and no images what so ever!

    If you really want something different, create an Animated Portable Network Graphics (APNG) for the background, don't do GIF.. Then each page css can have there own background image animating!!
    Dave
    Always forward thinking... Lost my mind!

  8. #8
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: Where in the php code would a background image on the home page be managed?

    Quote Originally Posted by cyberbaffled View Post
    A significant proportion of ecommerce sites use animation to differentiate their site from hundreds of thousands of other sites. I share that motivation.
    So does disney.com - they are there to entertain. Are you keen on entertaining your visitors, or selling stuff? The modern tendency is to focus on the PRODUCT, and by embedding structured data markup in your PHP - particularly JSON-ld protocol - you will find that specific PRODUCT pages are returned in search engine search results. Research by econsultancy, forrester, and work done by heat-mapping researchers like Jakob Nielsen indicate that sites that follow a "conventional" layout, intuitively makes shoppers more "comfortable". By having product-specific pages now more likely to render in search results, the significance of the "home page" is decreasing - as are other "pages" such as main (parent) categories.

    I tend to build sites on what research tells me - ie: the User Experience, and how users like to interact with product-rich ecommerce sites.

    Of course, if you want your site to look like a pinball machine on steroids - please go ahead.

    Quote Originally Posted by cyberbaffled View Post
    Incidentally, what form do said 'penalties' take?
    Go do a pagespeed test on google, or use pingdom or gtmetrix .

    Pagespeed is now a critical ranking factor on Google. Slow sites will find themselves either not featuring in search results (particularly mobile results), or be way down the rankings.

    Quote Originally Posted by cyberbaffled View Post
    Finally, now that I've addressed your curiosity, do you understand the php code sufficiently to answer the original question? The question is: where in the code is the homepage "background" image affixed to said homepage?
    I have a fair knowledge of PHP, but what you require is more a CSS issue.
    20 years a Zencart User

 

 

Similar Threads

  1. v150 what is the php code to return the url of the current page?
    By WebKat in forum General Questions
    Replies: 7
    Last Post: 8 Mar 2012, 11:24 PM
  2. New products on home page - where's the php code inside tpl_header?
    By Thannaree in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 10 Jun 2011, 11:16 AM
  3. Apply a different image background for the home page only?
    By arniesbarmyarmy in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 13 Nov 2009, 07:36 PM
  4. Where would I look to change the name that shows at the top of the Browser?
    By ScootaMan in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 9 Nov 2007, 02:31 PM
  5. where is the file that contains the home page
    By w2e in forum General Questions
    Replies: 2
    Last Post: 27 Oct 2007, 05:25 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR