-
Environment
Expected behaviorI expected the social sharing links to look the same way that they do in the documentation, with bold, uppercase 'SHARE ON' text and not much space between themselves and the post content. I would expect the social sharing to look the same way that it should in the documentation. Steps to reproduce the behavior
Log
|
Beta Was this translation helpful? Give feedback.
Replies: 9 comments
-
The share module has padding and margin above it. Instead of adding text above it, use the translation key in the UI text data file to change the share text. https://mmistakes.github.io/minimal-mistakes/docs/ui-text/ You can change |
Beta Was this translation helpful? Give feedback.
-
Creating a new file called
still does not make a difference and it remains the way that it looked before. Could you please clarify how to set this up? Thank you. |
Beta Was this translation helpful? Give feedback.
-
You need to copy the entire ui-text.yml file, not just those keys above. Copy the entire file, then change the text strings in the keys you want. |
Beta Was this translation helpful? Give feedback.
-
Also spacing/indents matter with YAML. Looks like you indented too much from the above data. |
Beta Was this translation helpful? Give feedback.
-
Oddly, it still doesn't seem to be working. I pasted the Repository: https://github.com/Destaq/destaq.github.io |
Beta Was this translation helpful? Give feedback.
-
Your indents are still incorrect. Check this line https://github.com/Destaq/destaq.github.io/blob/master/_data/ui-text.yml#L5 Compare that against the file bundled in the theme... there shouldn't be an indent here. Instead of copy/pasting copy the entire file then edit the text. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your continued help. I have edited that indentation issue and looked through the rest of the file; everything else seems to have been properly aligned. However, the 'Share on' text still does not show up. |
Beta Was this translation helpful? Give feedback.
-
Doesn't look like you set your
|
Beta Was this translation helpful? Give feedback.
-
That did the trick! Setting it to 'en-US' now has everything working. Thank you! |
Beta Was this translation helpful? Give feedback.
The share module has padding and margin above it. Instead of adding text above it, use the translation key in the UI text data file to change the share text.
https://mmistakes.github.io/minimal-mistakes/docs/ui-text/
You can change
share_on_label: "Share on"
toshare_on_label: "Find it interesting? Share below!"