GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Tech I need a bit of CSS help (https://gfy.com/showthread.php?t=1338282)

Pink24 11-25-2020 12:31 PM

I need a bit of CSS help
 
I hate CSS. I just don't understand it at all.

I had a button on my website that said "read more" with a .png background. It wasn't formatted properly and just looked like junk.
I spent hours yesterday trying to figure our the bit of code that makes it do what it does.

Anyway, I have somehow managed to delete the image background but the text is still stuck to the left and I want it central.

I have tried adding text-align: center in a bunch of places but nothing seems to make it move.

When I view source, the bit of code says class="readmore"> and on another page <a class="readmore"

Can someone give me a bit of custom CSS code that will sort out his mess?

Basically I just want the text centered. Maybe increase the size with a nice font so it stands out.

Someone save me from this madness!

k0nr4d 11-25-2020 12:46 PM

Either mess with the padding, or put the text itself into a span and apply "margin: 0 auto;" to the span.

Pink24 11-25-2020 02:09 PM

Quote:

Originally Posted by k0nr4d (Post 22779419)
Either mess with the padding, or put the text itself into a span and apply "margin: 0 auto;" to the span.

If I send you a link to my site, do you think you could take a look for me. I have tried to change the padding but I don't know exactly what I am supposed to be changing.

I have a .css file and a custom css section within wp-admin.

Colmike9 11-25-2020 02:39 PM

Quote:

Originally Posted by Pink24 (Post 22779439)
If I send you a link to my site, do you think you could take a look for me. I have tried to change the padding but I don't know exactly what I am supposed to be changing.

I have a .css file and a custom css section within wp-admin.

PM me the link if you want, too.

Pink24 11-25-2020 03:01 PM

Quote:

Originally Posted by Colmike7 (Post 22779451)
PM me the link if you want, too.

Thanks, sent you a message.

jiguideveloper 11-25-2020 10:51 PM

If you are still looking, Send me your site link so I will fix that problem


All times are GMT -7. The time now is 05:56 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc