Atom news article images don't center?

Status
Not open for further replies.

Bran

habcrush.pw
Mar 13, 2017
1,833
1,680
helo everyone, i've had this issue for like a year now, when making articles my images don't center when using the center alignment, the text does but the images don't?
You must be registered for see images attach
 

React

Member
Sep 17, 2023
299
163
helo everyone, i've had this issue for like a year now, when making articles my images don't center when using the center alignment, the text does but the images don't?
You must be registered for see images attach
If you can, find the code and use
<div style="text-align: center;">
<img src="bran.png" style="display: inline-block;" alt="habcrush">
</div>
for your images, it just means anything inline or inline-block inside the container will be center.
 

Dec

Tongue Boxing Champion 2023
May 30, 2017
454
289
If you can, find the code and use
<div style="text-align: center;">
<img src="bran.png" style="display: inline-block;" alt="habcrush">
</div>
for your images, it just means anything inline or inline-block inside the container will be center.

Am i stupid or is bro trying to align an image with text-align?

edit 1: helps to read the whole thing tbh
edit 2: i am stupeed
 

Object

?
Nov 10, 2017
454
375
he didn't even fix it 4 me so !
I suppose you use a pretty old version of Atom no?

Should be fixed if you update afaik.

If you don’t want to update then you can grab the css from line 231 and to the very last line and paste into your own app.scss file and then rebuild.

I don’t remember whether you need to update the article.blade.php file as well, if so just copy and paste from GitHub too.

 

Bran

habcrush.pw
Mar 13, 2017
1,833
1,680
I suppose you use a pretty old version of Atom no?

Should be fixed if you update afaik.

If you don’t want to update then you can grab the css from line 231 and to the very last line and paste into your own app.scss file and then rebuild.

I don’t remember whether you need to update the article.blade.php file as well, if so just copy and paste from GitHub too.

i didn't do this but it now works and centers the images by using the indents !!
You must be registered for see images attach
 
Status
Not open for further replies.

Users who are viewing this thread

Top