HTML and CSS Customizations for New SmugMug
hp_girl
Registered Users Posts: 21 Big grins
I had a head tag, custom header and custom footer in the old SM and I've tried adding an HTML block to the new SM, but without the head tag code it does not translate my HTML correctly because it does not see my CSS links.
I have half my site on a GoDaddy server and half on SM so I use the same CSS files for both so I only have one file to make modifications to and it keeps both sites looking the same. It is ill advised to use link or meta data tags inside the body tag so I need some help as to how SM intended for users of the old Advanced Customization screen to transport the look and feel to the new SM. Please help me.
I have half my site on a GoDaddy server and half on SM so I use the same CSS files for both so I only have one file to make modifications to and it keeps both sites looking the same. It is ill advised to use link or meta data tags inside the body tag so I need some help as to how SM intended for users of the old Advanced Customization screen to transport the look and feel to the new SM. Please help me.
0
Comments
That is correct. You can no longer link to external CSS. I have submitted a request to have this changed, but have not heard back yet. For now you are going to need to copy your CSS from your GoDaddy site into the CSS on your new site
www.joeywashburn.com
I haven't tried it, but you should be able to use the @import function on your custom CSS.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
It doesnt work. Been there, tried that. They have that blocked as well. Maybe to prevent some sort of cross site scripting issues.
Here is a link to where I outlined how I did it. It might help
http://www.dgrin.com/showthread.php?t=238762
www.joeywashburn.com
Also, I had tags like "itemtype="http://schema.org/LocalBusiness" in my tag at the top. How do I incorporate that for my Google meta data in the new SM?
Herrington Photography
www.herringtonphotography.com
Your site (and images) are outstanding!
You can't add a custom meta tag to the header either.
Please check out my gallery of customisations for the New SmugMug, more to come!
Herrington Photography
www.herringtonphotography.com
This was VERY helpful. I still need custom meta tags and Javascript.
Herrington Photography
www.herringtonphotography.com
Please check out my gallery of customisations for the New SmugMug, more to come!
Added all galleries CSS.
My Website index | My Blog
So sorry. I had "meta tags" in my head, but that's not the broken link in the chain. This is the line I need (or so I think) for Google to recognize my structured data elements:
<html itemscope itemtype="http://schema.org/LocalBusiness">
Herrington Photography
www.herringtonphotography.com
You wouldn't want to use that particular itemtype site-wde anyway. I would think you would create a custom page showing where you are, hours etc and then use that itemtype. Just wrap that in a <div> instead of an <html> tag.
I'm using a custom Portfolio page (gallery) using the 'Breadcrumbs' and the 'ImageGallery'.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Thanks Hikin' Mike! Using DIV instead of HTML worked!
Herrington Photography
www.herringtonphotography.com
Glad it worked!
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk