Page 4 of 4 FirstFirst ... 234
Results 31 to 32 of 32
  1. #31
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Always Problems with this custom inline Code!

    You really need to learn how to look up these things for yourself. Firefox with its Firebug extension (or some other browsers' web developer tools) will let you find the styling that applies to any page element, and try new styling to see what works before you change actual files.

    Just looking at "view source" in your browser will show you the name of the container just before your new content; use that in the style rule. If you want the same effect as the shipping page, just add the selector to the list at the beginning.

    The Boutique page is a special case because there is not an id on the enclosing div. You can use a selector of #ezpagesHeading+div:
    #shippingInfoMainContent, #ezpagesHeading+div {margin-top: 3em;}

    Some of the other pages are also built very differently than the define page you were first asking about, and if you want this space for many or all pages, it will be better to change the approach and add margin below the <h1> instead of above the content.

    h1 {margin-bottom: 3em;}

    Of course you would need to remove the #shippingInfoMainContent margin so it doesn't double up. If this then causes undesired spacing in any pages, a rule can be made to exempt them from this general rule.

  2. #32
    Join Date
    May 2012
    Posts
    564
    Plugin Contributions
    0

    Default Re: Always Problems with this custom inline Code!

    The h1 {margin-bottom: 3em;} worked perfectly to create the spacing for all pages. All of the errors have been eliminated, except for one I can't locate, and I think that one might be removed when I have the mega menu redone into a regular menu.

    Thank you for your support.

 

 
Page 4 of 4 FirstFirst ... 234

Similar Threads

  1. Trying to fix inline code with colorbox...
    By toomanyknots in forum General Questions
    Replies: 2
    Last Post: 5 Apr 2015, 04:26 PM
  2. Encryption problems with our custom code
    By GeorgeM1956 in forum Upgrading to 1.5.x
    Replies: 7
    Last Post: 3 Jul 2014, 05:52 PM
  3. inline styling of php
    By hardwiredtemplates in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 28 Jun 2009, 05:39 AM
  4. Problems with styling buttonRow -- esp in IE
    By tstamplis in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 12 Mar 2008, 03:46 AM

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