Help to remove header from galleries

atsitalianatsitalian Registered Users Posts: 3 Beginner grinner
edited February 14, 2006 in SmugMug Support
:wxwax I have looked and looked and not found a way to remove the header which appears on my wife's homepage "optasiaonline.com" from the galleries

Comments

  • flyingdutchieflyingdutchie Registered Users Posts: 1,286 Major grins
    edited October 14, 2005
    atsitalian wrote:
    <img src="https://us.v-cdn.net/6029383/emoji/umph.gif&quot; border="0" alt="" > I have looked and looked and not found a way to remove the header which appears on my wife's homepage "optasiaonline.com" from the galleries
    I looked at your page source, just around your <body> tag. This is what is currently there:
    <body class="homepage"> <!-- These extra divs/spans may be used as catch-alls to add extra imagery. -->
    <div id="extraDiv1"><span></span></div><div id="extraDiv2"><span></span></div><div id="extraDiv3"><span></span></div> <div id="extraDiv4"><span></span></div><div id="extraDiv5"><span></span></div><div id="extraDiv6"><span></span></div>
    <div align="center">
    <img src=http://optasiaimages.smugmug.com/photos/38397313-O.jpg="715&quot; height="453">

    Change this

    Give your image an ID. e.g.
    <img id="header_img" src=http://optasiaimages.smugmug.com/photos/38397313-O.jpg width="715" height="453">

    and add this to your co-branding's style sheet settings:
    /* Hides header-image on all pages... */
    #header_img {
    display: none;
    }

    /* ... but shows it on my homepage. */
    .homepage #header_img {
    display: block;

    }

    Or move your image inside one of those extraDiv-s. Then the CSS would look like this if you move your header-image inside extraDiv1:
    /* Hides header-image on all pages... */
    #extraDiv1 {
    display: none;
    }

    /* ... but shows it on my homepage. */
    .homepage #extraDiv1 {
    display: block;

    }
    -- Anton.
    I can't grasp the notion of time.

    When I hear the earth will melt into the sun,
    in two billion years,
    all I can think is:
        "Will that be on a Monday?"
    ==========================
    http://www.streetsofboston.com
    http://blog.antonspaans.com
  • atsitalianatsitalian Registered Users Posts: 3 Beginner grinner
    edited October 14, 2005
    Thanks
    Worked perfectly.

    Thanks Anton.

    John
    I looked at your page source, just around your <body> tag. This is what is currently there:
    <body class="homepage"> <!-- These extra divs/spans may be used as catch-alls to add extra imagery. -->
    <div id="extraDiv1"><span></span></div><div id="extraDiv2"><span></span></div><div id="extraDiv3"><span></span></div> <div id="extraDiv4"><span></span></div><div id="extraDiv5"><span></span></div><div id="extraDiv6"><span></span></div>
    <div align="center">
    <img src=http://optasiaimages.smugmug.com/photos/38397313-O.jpg="715&quot; height="453">

    Change this

    Give your image an ID. e.g.
    <img id="header_img" src=http://optasiaimages.smugmug.com/photos/38397313-O.jpg width="715" height="453">

    and add this to your co-branding's style sheet settings:
    /* Hides header-image on all pages... */
    #header_img {
    display: none;
    }

    /* ... but shows it on my homepage. */
    .homepage #header_img {
    display: block;

    }

    Or move your image inside one of those extraDiv-s. Then the CSS would look like this if you move your header-image inside extraDiv1:
    /* Hides header-image on all pages... */
    #extraDiv1 {
    display: none;
    }

    /* ... but shows it on my homepage. */
    .homepage #extraDiv1 {
    display: block;

    }
    -- Anton.
  • flyingdutchieflyingdutchie Registered Users Posts: 1,286 Major grins
    edited October 14, 2005
    atsitalian wrote:
    Worked perfectly.

    Thanks Anton.

    John
    You're welcome.
    BTW: You have some beeauuuuutiful pictures in your galleries!
    -- Anton
    I can't grasp the notion of time.

    When I hear the earth will melt into the sun,
    in two billion years,
    all I can think is:
        "Will that be on a Monday?"
    ==========================
    http://www.streetsofboston.com
    http://blog.antonspaans.com
  • atsitalianatsitalian Registered Users Posts: 3 Beginner grinner
    edited October 14, 2005
    My wife is the photographer. I am just the guy messing with the website and trying to help her get her business off the ground. You have some awesome photos in your galleries as well and the layout and functionality of your website is incredible.

    One more question. Can you tell me how to have a text only gallery w/o the "This is a brand new gallery with no photos and the drop down "style" menu. She is wanting to add a biography page (already started) and pricing page but does not want all that other stuff on the page.

    Anything you can do to help would be appreciated.

    PS - Been to Boston on business quite a bit....GREAT CITY.

    Thanks,
    John
    You're welcome.
    BTW: You have some beeauuuuutiful pictures in your galleries!
    -- Anton
  • flyingdutchieflyingdutchie Registered Users Posts: 1,286 Major grins
    edited October 14, 2005
    atsitalian wrote:
    My wife is the photographer. I am just the guy messing with the website and trying to help her get her business off the ground. You have some awesome photos in your galleries as well and the layout and functionality of your website is incredible.

    One more question. Can you tell me how to have a text only gallery w/o the "This is a brand new gallery with no photos and the drop down "style" menu. She is wanting to add a biography page (already started) and pricing page but does not want all that other stuff on the page.

    Anything you can do to help would be appreciated.

    PS - Been to Boston on business quite a bit....GREAT CITY.

    Thanks,
    John
    Thanks for the compliments! :D

    About 'photo-less' pages.
    First, I would download FireFox (if you have not already done so) and use FireFox to download the Web Developer Extension here: https://addons.mozilla.org/extensions/moreinfo.php?application=firefox&id=60
    This will help you to identify the class values and id value of all the elements in your galleries/pages. It will also help you with the process below:


    Creating photo-less page:
    -Create a gallery with some name.
    -Upload one photo to this gallery. This will be a dummy photo. Just upload a very small gif or something.
    -Put the entire text you want to put on the page in the caption of this dummy picture.
    -Set the gallery style to 'Journal'.
    -Add CSS selectors to hide the unwanted items from your screen. Examples, where your gallery-id is "gallery_123456":
    #stylebar,
    .gallery_123456 #journal #breadcrumb,
    .gallery_123456 #journal .albumNav,
    .gallery_123456 #journal #comment,
    .gallery_123456 #footer_wrapper,
    .gallery_123456 #journal .photo {
    display: none;
    }
    -Style these items as you want:
    .gallery_123456 #journal #albumDescription,
    .gallery_123456 #journal .journal_entry
    .gallery_123456 #journal .caption
    -In a previous step you did put the text for this page in the caption of the one dummy picture. If you start this text with <HTML> and you end it with </HTML> you can add <div> elements inside your caption's text. This will allow you to use CSS to style the text in your page/caption and make it look like anything you like.
    -When all looks good, go to 'customize gallery' and fix the gallery-style to 'Journal' (so that viewers can not change the style to something else).

    (i compiled this from my own CSS settings.. i may have forgotten to mention some steps here, but i hope you'll get the general idea :D)
    Good luck with it.
    -- Anton.
    I can't grasp the notion of time.

    When I hear the earth will melt into the sun,
    in two billion years,
    all I can think is:
        "Will that be on a Monday?"
    ==========================
    http://www.streetsofboston.com
    http://blog.antonspaans.com
  • nikwaxnikwax Registered Users Posts: 16 Big grins
    edited February 14, 2006
    Thanks for the compliments! :D

    About 'photo-less' pages.
    First, I would download FireFox (if you have not already done so) and use FireFox to download the Web Developer Extension here: https://addons.mozilla.org/extensions/moreinfo.php?application=firefox&id=60
    This will help you to identify the class values and id value of all the elements in your galleries/pages. It will also help you with the process below:


    Creating photo-less page:
    -Create a gallery with some name.
    -Upload one photo to this gallery. This will be a dummy photo. Just upload a very small gif or something.
    -Put the entire text you want to put on the page in the caption of this dummy picture.
    -Set the gallery style to 'Journal'.
    -Add CSS selectors to hide the unwanted items from your screen. Examples, where your gallery-id is "gallery_123456":
    #stylebar,
    .gallery_123456 #journal #breadcrumb,
    .gallery_123456 #journal .albumNav,
    .gallery_123456 #journal #comment,
    .gallery_123456 #footer_wrapper,
    .gallery_123456 #journal .photo {
    display: none;
    }
    -Style these items as you want:
    .gallery_123456 #journal #albumDescription,
    .gallery_123456 #journal .journal_entry
    .gallery_123456 #journal .caption
    -In a previous step you did put the text for this page in the caption of the one dummy picture. If you start this text with <HTML> and you end it with </HTML> you can add <div> elements inside your caption's text. This will allow you to use CSS to style the text in your page/caption and make it look like anything you like.
    -When all looks good, go to 'customize gallery' and fix the gallery-style to 'Journal' (so that viewers can not change the style to something else).

    (i compiled this from my own CSS settings.. i may have forgotten to mention some steps here, but i hope you'll get the general idea :D)
    Good luck with it.
    -- Anton.


    fabulous! I used this as a basis for my bio page, i just removed the #journal .photo line to have my bio photo appear. Looks great!


    Question: if I were using the journal_entry line, would it need a comma in this situation (mid-statement?)




    this is fun :):
  • flyingdutchieflyingdutchie Registered Users Posts: 1,286 Major grins
    edited February 14, 2006
    nikwax wrote:
    fabulous! I used this as a basis for my bio page, i just removed the #journal .photo line to have my bio photo appear. Looks great!


    Question: if I were using the journal_entry line, would it need a comma in this situation (mid-statement?)


    Also, this displays perfectly with the Safari browser but not with the Firefox browser...hmmm...more reading ahead headscratch.gif


    this is fun :):

    I don't quite understand your question, but this is what a comma means:

    A CSS rule is applied through CSS selectors. The rule is the body, the selector selects which HTML elements are affected by this rule.

    For example:
    .gallery_123456 #journal #comment {
    /* rule */
    }

    .gallery_123456 #journal #comment
    is a CSS selector

    {
    /* rule */
    }
    is a rule

    If you want to use more than one CSS selector for a rule, you can separate them by commas. For example these two selectors apply the rule "{ display: none}":
    .gallery_123456 #footer_wrapper,
    .gallery_123456 #journal .photo {
    display: none;
    }
    I can't grasp the notion of time.

    When I hear the earth will melt into the sun,
    in two billion years,
    all I can think is:
        "Will that be on a Monday?"
    ==========================
    http://www.streetsofboston.com
    http://blog.antonspaans.com
  • nikwaxnikwax Registered Users Posts: 16 Big grins
    edited February 14, 2006
    that's what I thought, there's possibly a missing comma in your example:

    .gallery_123456 #journal #albumDescription,
    .gallery_123456 #journal .journal_entry
    .gallery_123456 #journal .caption


    if someone were doing a cut and paste.
  • flyingdutchieflyingdutchie Registered Users Posts: 1,286 Major grins
    edited February 14, 2006
    nikwax wrote:
    that's what I thought, there's possibly a missing comma in your example:

    .gallery_123456 #journal #albumDescription,
    .gallery_123456 #journal .journal_entry
    .gallery_123456 #journal .caption


    if someone were doing a cut and paste.

    Ah, those three lines.
    Even with an extra comma after the ".journal_entry", it still would be invalid CSS (incomplete CSS, to be more precise). These three lines is just a list of the CSS selectors available for styling; their rule(s) is(are) missing, not specified.
    I can't grasp the notion of time.

    When I hear the earth will melt into the sun,
    in two billion years,
    all I can think is:
        "Will that be on a Monday?"
    ==========================
    http://www.streetsofboston.com
    http://blog.antonspaans.com
Sign In or Register to comment.