Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Image] Add text overlays #3459

Open
elfassy opened this issue Dec 11, 2015 · 14 comments
Open

[Image] Add text overlays #3459

elfassy opened this issue Dec 11, 2015 · 14 comments

Comments

@elfassy
Copy link

elfassy commented Dec 11, 2015

is it possible to do this?

Where the text shows up above the image. Thanks

@kenhkelly
Copy link

Have you found a way to do this @elfassy? Looking for the same thing.

@elfassy
Copy link
Author

elfassy commented Jan 18, 2016

@kenhkelly yes using regular css. Either negative margin or absolute positioning should work with image as background.

@kenhkelly
Copy link

I figured as much. Would be nice to have that added to the .ui.image element for simplicity.

@vinayraghu
Copy link

👍 A pretty common pattern so would be nice to have this coded in by default.

@exogenesys
Copy link

exogenesys commented Jun 2, 2017

@elfassy Could please tell us more about how you did it? Any idea how you could accomplish the same with the React Semantic UI 'Image' Component?

@paschalidi
Copy link

+1 please

@awgv awgv changed the title image with text overlay [Image] Add text overlays Jul 7, 2017
@Tsourdox
Copy link

Tsourdox commented Oct 4, 2017

The "css way" would look something like this:

<div className="ui fluid image">
    <img src={url}/>
    <div style={{position: 'absolute', bottom: 0, width: '100%', height: 'auto'}}>TEST</div>
</div>

@stale
Copy link

stale bot commented Feb 23, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Feb 23, 2018
@mcclowes
Copy link

+1

@stale stale bot removed the stale label Feb 23, 2018
@ronnaf
Copy link

ronnaf commented Mar 22, 2018

I am having the same problem :(

@CloudMunk
Copy link

Why has this not been addressed yet? This is such a common thing to have in a UI library... Has anyone found an easy and sound workaround on this issue yet? The CSS way wont cut it for what I am doing currently.

@elfassy
Copy link
Author

elfassy commented Apr 21, 2018

Why has this not been addressed yet?

Feel free to open a PR.

@kenhkelly
Copy link

Created a PR to add caption support: #6621

@lubber-de

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests