dawncomer / open-sdg-site-starter

A starting point for the site repository of an Open SDG platform implementation.
MIT License
3 stars 1 forks source link

trouble creating link #32

Closed dawncomer closed 5 years ago

dawncomer commented 5 years ago

Hi @brockfanning, i'm having trouble creating a link using this coding method, any ideas? Here's the result:

Screen Shot 2019-05-07 at 3 32 19 PM

Thanks!

dawncomer commented 5 years ago

I used the same approach on 11.4, but am not sure what's different above.

brockfanning commented 5 years ago

Yes, I think that's a quirk that may need clarification in the documentation. The content below the "---" in the metadata supports Markdown. But most other content (like the contents of localization.yml) does not support Markdown.

If you want to put a link in a place that doesn't support Markdown, you'll need to use HTML. So, instead of:

[here](http://sdglamayor.cityofla.acsitefactory.com)

...you would do this:

<a href="http://sdglamayor.cityofla.acsitefactory.com">here</a>

Obviously not as clean as the Markdown syntax, but at least it gets the job done.

dawncomer commented 5 years ago

thanks @brockfanning for the clarification.

dawncomer commented 5 years ago

@brockfanning something is happening with the spacing. i've looked at the source code and can't quite figure it out. Also, maybe the here can be underlined? I've changed it to at this link...in case 'here' isn't obvious to folks.

Screen Shot 2019-05-08 at 3 16 26 PM
brockfanning commented 5 years ago

Hi @dawncomer yes this is a case where some CSS in Open SDG is causing an issue. There is CSS that was meant to be applied only to the goal icon, but is inadvertently affecting your link.

Probably the quickest way to resolve it would be to add some more custom CSS here: https://github.com/dawncomer/open-sdg-site-starter/blob/develop/assets/css/custom.scss#L5

For reference, here is the chunk of CSS that's affecting your link: https://github.com/open-sdg/open-sdg/blob/master/assets/css/default.scss#L555

dawncomer commented 5 years ago

Hi @brockfanning , I'm not following the steps to take to how to resolve this. Can we do a walk-thru on CSS Friday AM?