|
|
Thread Tools | Display Modes |
|
#1
|
|||||||
|
Major grins
|
HOW TO match your blog to your smug site (blogger-specific)
More and more smug gallery owners are taking the step of customizing a blog to match a SmugMug site. There is currently information scattered in several threads in this forum. Based on the number of questions I've seen recently I thought it might be helpful to have a thread devoted to getting a blog (on www.blogger.com, ususally accessed as <name>.blogspot.com) to match a SmugMug site from an overall look-and-feel standpoint.
My experience is with blogger, but it's quite possible that the steps I've listed here could apply (in a general sense) to other blog hosts as well. I'm sure the actual structure of other blogs will vary, but I'd imagine that some of the information could be usable. The steps listed below should help you to customize your blog so that it bears the same look as your SmugMug site. These steps assume that you are using a navbar on your SmugMug galleries and that you want to duplicate your banner and navbar on your blog. There is a simple way to show a blog within your smug site, and that is to embed your blog within an HTML-only gallery. If you'd like to take that approach, richW posted instructions in this post - http://www.dgrin.com/showpost.php?p=628906&postcount=4. If that's your chosen method, you're done! But if you want a more seamless look, please continue reading. First, some examples... it might be helpful to see some more examples of a blog linked to smug with a seamless appearance. I'm going to start a list here. If your site also plays in this game and you'd like to see it listed, let me know! Sites with blogs inheriting the smug site's appearance:A quick warning before we go on - I've only done this with sites that have a plain background. I'm sure if you're using a background image or pattern for your galleries that you'll be able to manipulate your blog to match, but these instructions are for a more straightforward match.www.denisegoldberg.comIn all cases, click on the blog navbar entry to wander there, other navbar entries jump back to the SmugMug site. Quote:
Next, head over to your blog. Before you start making changes to your blog, go to the layout screen and make a backup of your current blog template. There is a backup facility within blogger, but I usually just copy all of the code in the Edit Template box and copy it into a simple text document. To get to the CSS and HTML in your blog, click the Template sidebar entry. You'll see a page like this: Click Edit HTML under the Live on Blog image. That will give you a screen that looks like it's doing something, but it is really waiting for you. Click the Proceed button, and you will then see the edit html box: Something you might want to consider is creating a second blog for experimenting. You can them make all of these changes in a blog that isn't currently known to people, and when you get your "play" blog set the way you like it you can just copy that entire HTML box over to your real blog. That's what I did when I started experimenting. I created another blog. My real blog is at http://denisegoldberg.blogspot.com. I created a blog called http://denisegoldbergplays.blogspot.com. I copied the HTML from my real blog to the play blog, and I created a couple of blog entries in that play blog. That way I could experiment until I was happy and not worry about the world seeing my sometimes messy transition. If the blog template you are using doesn't come close to your smug look, you might want to select a different template that comes closer to matching before you start this customization exercise. I started with a clean white background in both my blog and my SmugMug galleries. The first thing that I changed in my blog was to remove the blogspot search / login bar at the top of the page. Luckily richW cracked the mystery of how to remove that bar. Jump over to the post here and follow Rich's instructions to remove the bar. Then jump back here to continue your customizing. Or... here's the code that needs to be added to your blog template to remove the blogger bar: Under 'edit template' look for the following: Quote:
You can make your first changes here by clicking on items in the list on the left and then either selecting a color from the palette or entering the hex color code that matches the colors in your galleries. Continue the color selection with all of the elements in the list that you want to change. As you continue to scroll the list of elements, you will move on to the fonts that you want to use. Set the fonts as desired. If you'd prefer, you can specify your color and font choices directly in the Edit Template box on the Edit HTML page within the Layout tab. The colors and fonts can be found at the top of the template. As you scroll through your blog's template, you will start to see CSS. I found an entry #myBlogTitle. That's where the title was displayed in my blog template. I wanted to replace that title with my SmugMug gallery banner/navbar, so I set #myBlogTitle to {display: none;} I've seen the title displayed in most blogs in the #header entry in the blog's CSS. Look through your template, find #header, and set it to display: none; Right after that is the #navbar-iframe entry that I changed based on richW's notes. That seems to be a good spot to paste your CSS for your banner and navbar that you copied from your SmugMug site. After my banner / navbar CSS, I also pasted in CSS to define the hover behavior. In my case, this is what I copied from my SmugSite: Code:
a:hover /* select all the link hover states on the whole site */
{
color: #c0f !important; /* change the color to grape */
text-decoration:overline !important; /* overline them */
}
Next, continue to scroll down through your template until you start to see HTML instead of CSS. Your blog structure may be different than mine, but hopefully you'll be able to see where to paste your banner and navbar HTML based on my description. Warning - yes, it's more than possible that your blog structure is different than mine was. Look for the <body> tag and start experimenting with placement after that. In my blog, I [B]put my navbar and banner code before the outer-wrapper and content-wrapper entries.I found this in my template: Code:
<body> <div id='myBlogTitle'><h1>Denise Goldberg's blog</h1></div> I looked at someone else's blog, and in her case things were slightly different - even though we had started with the same blogger template. She would need to set #header-wrapper to {display: none;}, and her banner/navbar code needed to be placed after the line <div id="space-for-ie"></div></div></div>and just before <div id='outer-wrapper'>A minor change was needed in the HTML since I don't include my full URL in the code on my smugmug site. Since the blog is a totally different site, I need the full URL for the links within my galleries. Here's part of the code from my SmugMug customization: And here's the equivalent code from my blog: And - the magic is done! You should now have a blog that matches the look of your galleries. Quote:
Save your template, and view your blog to see if you have the look you want. Tweak as needed. There's a lot of information on this page, and I don't want to cause confusion by including even more here. What I'm going to do is include links to other posts in this thread that contain information that you might find useful. That way you'll be able to quickly find information even if it is scattered through the thread.
Quote:
Quote:
__________________
http://www.denisegoldberg.com ... http://denise.smugmug.com Musings & ramblings at http://denisegoldberg.blogspot.com, quick posts in google+ Last edited by denisegoldberg; Dec-07-2012 at 02:32 PM. Reason: added screen shots on how to find the CSS & HTML in the updated blogger |
||||||
|
|
|||||||
|
#2
|
|||
|
Major grins
|
Adding photos to your blog
This information applies to embedding your photos anywhere - not just in your blog.
Blogger - and I'm sure other bloggging tools too - provides a button to insert a photo into your blog. Don't use that photo button! Why? Because it won't drive traffic to your galleries. If someone clicks on that photo in your blog, they will see a small copy of that photo on an otherwise empty browser page. A better approach is to use a combination of <a href= and <img src= html statements. The <a href= will tell the browser where to go when the photo is clicked, and the <img src= identifies the photo to be displayed from your galleries. Here's an example of the code I used to display a photo on one of my blog pages: <center>Where do the URLs come from? The easiest place to pick up the URLs is from the Share button, Get a link page.The URL I use in the <a href= statement comes from the Gallery link. And the URL I use in the <img src= statement starts with one of the photo links. Then I change the -M or -L or whichever of the Direct photo links I picked up from that page to use a custom size. Easier yet is to go to the embeddable links tab on the share page and pick up the html from there. That will give you a preconstructed <a href= and <img src= statement that when clicked will take the viewer to the photo in lightbox. Fill in the title="" entry for mouseover text. If you want to use a custom size you must change both of the size entries in the link you picked up from the share... get a link page. For example, change both of the highlighted Ms in the statement below to 450x450 if that's the size you want: <img src="http://www.denisegoldberg.com/Wandering-near-home/Spring-color-2011/i-CbnktP4/0/M/201104_7d_7416l-M.jpg" alt="magnolia, pink blooms">If you have a pro site and you want a click on the photo to go to the (shopping) cart with that photo selected, you can use the Buy link instead of one of the photo links as the URL in the <a href= statement. Quote:
I sometimes use custom sizes because the photo fits the space better than with the standard sizes like -S or -M. See http://www.smugmug.com/help/custom-photo-sizes for more information. Thanks, and... And I owe thanks to both OffTopic and ivar in pointing out that you should always use alt= as part of the <img statement. From Lori's (oops! OffTopic's) note in another thread: Quote:
If you'd prefer not to construct the code yourself, you can use one of the "blog" links from the Share.... Get a link page, on the "Embeddable Links" page. The links in this section are a combination of <a href= and <img src statements. If you choose to use this link, clicking on the photo will take the viewer to the Lightbox view of your gallery. Using the code I posted above will take the viewer into the gallery positioned on the specified photo. Both are good methods to link your photo. --- Denise
__________________
http://www.denisegoldberg.com ... http://denise.smugmug.com Musings & ramblings at http://denisegoldberg.blogspot.com, quick posts in google+ Last edited by denisegoldberg; Sep-13-2011 at 03:39 PM. |
||
|
|
|||
|
#3
|
|
|
Major grins
|
But, but... can't people steal my photos from my blog?
Are you concerned about people grabbing your photos from your blog?
You're absolutely right, folks can do a right-click save from your blog and grab your photo. Should you be concerned about that? It depends... If you are a professional taking people pictures where you think your subjects may be prone to grabbing images to show on another site (like myspace or similar sites) - yes, maybe you should be concerned. If you're not a professional, you may have a different level of concern. Here are some things to think about:
It's all up to you. Information on image protection (in the SmugMug home for your photos) is at http://www.smugmug.com/help/image-protection. --- Denise
__________________
http://www.denisegoldberg.com ... http://denise.smugmug.com Musings & ramblings at http://denisegoldberg.blogspot.com, quick posts in google+ |
|
|
|
|
#4
|
|
|
Major grins
|
Make sure to WRITE!
Adding a link to your blog won't be very helpful if you don't post new entries on a somewhat periodic basis. If I wander over to a blog a few times and find no new entries, I usually won't go back again.
You don't need to write every day, or even every week, but do write. Your entries don't need to be long. An entry can be a single photo, or just a sentence or two. Or it can be much longer. When I travel, I usually keep a journal at http://www.crazyguyonabike.com or its sister site http://hiking.topicwise.com. The "like a book" organization there make more sense to me than the "most recent first" entries of a blog. I want people to read my journal too, and I want people to know I haven't abandoned my blog, so when I head out on a trip I usually post an entry in my blog pointing to my journal. Here's a link to one of my "I'm on the road" blog entries, just as an example - http://denisegoldberg.blogspot.com/2008/06/hiking-not-hiding.html. When I get home from my trip, usually after I've created my photo galleries, I add another post to my blog about that trip. Here's the "I'm home" entry that goes with that hiking-not-hiding post - http://denisegoldberg.blogspot.com/2008/06/glimpses-of-zion.html. You've added a link to your blog to your SmugMug site - now don't forget to write! --- Denise
__________________
http://www.denisegoldberg.com ... http://denise.smugmug.com Musings & ramblings at http://denisegoldberg.blogspot.com, quick posts in google+ |
|
|
|
|
#5
|
|
|
Major grins
|
Check your blog settings
Check the settings on your blog to make sure that your blog has the characteristics you want.
To do that, log on to Blogger, enter your blog, and click the Settings tab. Click each of the options across the top of Settings and adjust the settings as needed. For example, that's where you indicate that you want your blog indexed by blogger, available to search engines, allow feeds, set the archive frequency (and indirectly the organization of entries in the side bar - mine is set to monthly). You can always change the settings later, but at least take a look and see what is available to you. -- Denise
__________________
http://www.denisegoldberg.com ... http://denise.smugmug.com Musings & ramblings at http://denisegoldberg.blogspot.com, quick posts in google+ |
|
|
|
|
#6
|
|
|
Homemaker
|
Oh Shoot!
I replied on the old thread. I am still learning how to use this forum, ugh! Can you check the old one? I have a few more help needed. I am not sure if I should post the reply here or not. Didn't want to spam the forum. Thanks Denise! ~ Melanie |
|
|
|
|
#7
|
||
|
Major grins
|
Quote:
You were replying to a post on that thread - and you replied in the right spot. It would be very confusing if you posted a reply in this thread to something that I answered in your other thread... --- Denise
__________________
http://www.denisegoldberg.com ... http://denise.smugmug.com Musings & ramblings at http://denisegoldberg.blogspot.com, quick posts in google+ |
|
|
|
||
|
#8
|
|
|
Major grins
|
Denise this is brilliant, excellent to have this information all in one place.
Perhaps you would be willing to take on paid commissions to do this customization for people like me who just find it all too challenging despite being so clearly explained. Well done and many thanks. Caroline
__________________
Mendip Blog - Blog from The Fog, life on the Mendips www.carolineshipsey.co.uk - Follow me on G+ |
|
|
|
|
#9
|
||
|
Major grins
|
Quote:
Thank you so much for your compliment - that means a lot to me. You're right, maybe I should consider a paid commision to help customize blogs. But for now I'll just follow my curiosity in solving puzzles. I took a look at your site to see if I could figure out how to clarify my instructions - and I've made a couple of updates to my notes above. Luckily web dev works when looking at blogger sites too. I find it a little odd that while it looks like you and I started wtih the same blogger template, some of the items - like the tags surrounding our headers - are different. If you go in and edit the HTML for your blog, look for the CSS for #header-wrapper and add display: none; to the code. I'd leave the other entries there as is in case you ever want to go back to the original format. Just hide it with display: none; Paste in your CSS as noted in my first entry. Find this in the template for your blog: Code:
<div id="space-for-ie"></div></div></div> I believe that will get you your matching sites. --- Denise
__________________
http://www.denisegoldberg.com ... http://denise.smugmug.com Musings & ramblings at http://denisegoldberg.blogspot.com, quick posts in google+ Last edited by denisegoldberg; Jul-30-2008 at 04:22 PM. |
|
|
|
||
|
#10
|
|
|
Major grins
|
Hi Denise, I can see the code referred to below when I look at the html in webdev but when I actually go to edit the blogger template the code differs and is not there at all. I have tried pasting my navbar html in various places but cant get the banner to show. However if I edit html in webdev and paste in as you advise here my banner shows
![]() Caroline [quote=denisegoldberg] Find this in the template for your blog: Code:
<div id="space-for-ie"></div></div></div>
__________________
Mendip Blog - Blog from The Fog, life on the Mendips www.carolineshipsey.co.uk - Follow me on G+ |
|
|
|
|
#11
|
||
|
Major grins
|
Quote:
Should be fine if you paste it right before the <div id="outer-wrapper"> --- Denise
__________________
http://www.denisegoldberg.com ... http://denise.smugmug.com Musings & ramblings at http://denisegoldberg.blogspot.com, quick posts in google+ |
|
|
|
||
|
#12
|
|
|
Major grins
|
My Blogger courtesy of Denise
Please take a look at my site and blog which Denise (and Allen & Doc) has helped me with over the past couple of weeks. I'm really thrilled with the look of both now, BIG THANKS
![]() ![]() ![]() Caroline
__________________
Mendip Blog - Blog from The Fog, life on the Mendips www.carolineshipsey.co.uk - Follow me on G+ |
|
|
|
|
#13
|
||
|
"tweak 'til it squeaks"
|
Quote:
Would never know they are different sites. Now more importantly, where are your feeder bird pics.
__________________
Al My Website my Blog Mozilla Firefox Web Developer Firebug Customization FAQ Banner/Navbar/Slideshow Tutor |
|
|
|
||
|
#14
|
|
|
panasonikon
|
http://www.moonriverphotography.com
http://blog.moonriverphotography.com Blogger kicks butt I had a blog at wordpress, but it's not as fully and completely customizeable as blogger is. W00p Denise kicks butt!
|
|
|
|
|
#15
|
|
|
panasonikon
|
Don't forget to change your blogger favicon, too:
you must have your favicon hosted somewhere, I have mine on Google Pages. This would go right after the <head> line in your code on Blogger: <link href='http://XXXXXXXX.googlepages.com/XXXXXXX.ico' rel='shortcut icon'/> <link href='http://XXXXXXXX.googlepages.com/XXXXXXX.ico' rel='icon'/> |
|
|
|
|
#16
|
||
|
LR3 Workshops
|
Can you clearly show how to put changed html up on a new blog?
Quote:
Thanks for your note; I hadn't yet subscribed to this thread. I've got several questions... I'm a bit confused; while I understand search engine reason for using alt= in your image source <center> <a href="http://www.denisegoldberg.com/gallery/5475439_pkNaq/1/334797478_t98sS"> <img src="http://www.denisegoldberg.com/photos/334797478_t98sS-450x450.jpg" alt="Revere Beach sand sculptures"> </a> </center> I dont know how to take my changes and put them up on a new blog. I can read HTML, but it's more difficult to deal with CSS and XML. Question: can you show how to put this specific HTML in the Edit Template? Nor did you explain what to do when you've saved everything as a text file (downloaded a blog page source), modified the file (in HTML), then need to upload your changes (in what format) to re-create your blog. Question: can you clearly defined the steps for a changed blog upload? That'll do it for now; I think you did a good job making this thread come alive with your post!
__________________
Joe [FONT="]As You Think, So Shall You BE... Rumi, 13th Century Persian Poet Award-Winning Photography, Workshop Instructor, Storyteller, Writer [/FONT][FONT="]Blog: [/FONT][FONT="]Pathways of Light[/FONT] [FONT="] Workshops: Creating Fine Art Magic[/FONT][FONT="] Book: Paths of Light [/FONT] [FONT="]Workshops: 2011 Lightroom 3 Workshops [/FONT][FONT="]Galleries, Bisti Art [/FONT] |
|
|
|
||
|
#17
|
||||
|
Major grins
|
Quote:
Quote:
Quote:
To add a post to your blog, click "New post" from your blogger dashboard. Or if you are in the "manage posts" section, click "New post" from there. Again, if I am making changes to the overall look and feel of my blog, I make those changes directly in the Layout tab, edit HTML page, in the edit template box. --- Denise
__________________
http://www.denisegoldberg.com ... http://denise.smugmug.com Musings & ramblings at http://denisegoldberg.blogspot.com, quick posts in google+ Last edited by denisegoldberg; Aug-04-2008 at 07:09 PM. |
|||
|
|
||||
|
#18
|
|
|
SmugMug Support Hero
|
__________________
Rich | My Site | SmugHelp | Customizing SmugMug Simplified | FAQ | Webdev Tutorial | |
|
|
|
|
#19
|
||
|
Major grins
|
Quote:
And - I love that video of Shizam. Your makeup artist is just amazing. --- Denise
__________________
http://www.denisegoldberg.com ... http://denise.smugmug.com Musings & ramblings at http://denisegoldberg.blogspot.com, quick posts in google+ Last edited by denisegoldberg; Aug-04-2008 at 07:10 PM. |
|
|
|
||
|
#20
|
|
|
Major grins
|
Adding a safe "contact me" email link to your blog
Many thanks to Andrew Young of http://www.fallingrunphotography.com/ for asking how to safely put an email address in his blog by applying Ivar's Stop Junkmail/Spam method shown at http://www.dgrin.com/showthread.php?t=81235. (Andrew's question is in this thread - http://www.dgrin.com/showthread.php?t=102072.)
His question was a bit of a puzzle - since it isn't obvious where to place Javascript in a blogger template - and I've always liked puzzles! This answer is also in Andrew's original post, but I thought it would be helpful to have it here as well. I have a blog I use for experimenting, so I played there. You can see the end results of my playing at http://denisegoldbergplays.blogspot.com. I took the code from Ivar's method (linked above), surrounded the code wtih script tags, and added it close to the bottom of my blogger HTML as found on the Layout tab, Edit HTML, Edit template. Here's the end of that HTML, including the norobotmail function: Code:
.......
<script type='text/javascript'>
function norobotmail(aUser, aDomain) { document.location = "mailto:" + aUser + "@" + aDomain; }
</script>
</body>
</html>
Code:
<a href="javascript:norobotmail('my name', 'my domain')">Email me</a>
Update on January 28, 2009--- Denise
__________________
http://www.denisegoldberg.com ... http://denise.smugmug.com Musings & ramblings at http://denisegoldberg.blogspot.com, quick posts in google+ Last edited by denisegoldberg; Jan-28-2009 at 01:30 PM. |
|
|
|
| Tell The World! | |
| Thread Tools | |
| Display Modes | |
|
|