Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

no gradient showing in extract panel

Community Beginner ,
May 20, 2017 May 20, 2017

Copy link to clipboard

Copied

I created a layout in Photoshop cc 2017 using a gradient fill in a rectangular selection. When I upload the file to my Creative Cloud account, and then use Extract in Dreamweaver, the file shows up in the Extract panel but the gradient swatch does not show up in the Styles section under Gradients (or anywhere). If I click on the gradient-filled rectangle, it seems to be treated as a div with width and height being the only available CSS to copy.

Aaaargh! What's up with this? How do I get my gradient to show up in the extract panel? It looks so cool in the tutorial where the gradient CSS for Webkit, Moz, etc gets automatically added to the CSS, but it's not happening for me and I didn't see anywhere in the tutorial how this was accomplished.

Views

284
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Beginner , May 20, 2017 May 20, 2017

OK, so I downloaded the tutorial, opened it in Photoshop and compared it to the file I had created. Turns out that in order for the gradient swatch to show up in the Extract panel, the rectangle (or whatever) must be created as a shape, not pixels.

Hope this helps anyone having the same problem. Not obvious at all and I could find info basically NOWHERE on the web.

Thanks to Nancy for your input, but it wasn't exactly what I was looking for.

Votes

Translate
Community Expert ,
May 20, 2017 May 20, 2017

Copy link to clipboard

Copied

I don't use the Extract Panel.  For me it makes more sense to build my own HTML & CSS (or more accurately SASS/LESS) code directly in DW.   That said, I use ColorZilla's  online gradient generator.  Some fills like radial are not supported by all browsers.   So be sure test your work in different devices.

Ultimate CSS Gradient Generator - ColorZilla.com

Hope that helps.Nancy

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 20, 2017 May 20, 2017

Copy link to clipboard

Copied

Oh,  and one other thing.  Design View cannot render advanced CSS.   You won't see gradients unless you switch to Live View.

Nancy

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 20, 2017 May 20, 2017

Copy link to clipboard

Copied

LATEST

OK, so I downloaded the tutorial, opened it in Photoshop and compared it to the file I had created. Turns out that in order for the gradient swatch to show up in the Extract panel, the rectangle (or whatever) must be created as a shape, not pixels.

Hope this helps anyone having the same problem. Not obvious at all and I could find info basically NOWHERE on the web.

Thanks to Nancy for your input, but it wasn't exactly what I was looking for.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines