Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 11-25-2020, 12:31 PM   #1
Pink24
So Fucking Banned
 
Industry Role:
Join Date: Aug 2019
Posts: 1,436
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!
Pink24 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-25-2020, 12:46 PM   #2
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,169
Either mess with the padding, or put the text itself into a span and apply "margin: 0 auto;" to the span.
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-25-2020, 02:09 PM   #3
Pink24
So Fucking Banned
 
Industry Role:
Join Date: Aug 2019
Posts: 1,436
Quote:
Originally Posted by k0nr4d View Post
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.
Pink24 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-25-2020, 02:39 PM   #4
Colmike9
(>^_^)b
 
Colmike9's Avatar
 
Industry Role:
Join Date: Dec 2011
Posts: 7,181
Quote:
Originally Posted by Pink24 View Post
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.
__________________
Join the BEST cam affiliate program on the internet!
I've referred over $1.7mil in spending this past year, you should join in.
I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..
Colmike9 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-25-2020, 03:01 PM   #5
Pink24
So Fucking Banned
 
Industry Role:
Join Date: Aug 2019
Posts: 1,436
Quote:
Originally Posted by Colmike7 View Post
PM me the link if you want, too.
Thanks, sent you a message.
Pink24 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-25-2020, 10:51 PM   #6
jiguideveloper
Confirmed User
 
jiguideveloper's Avatar
 
Industry Role:
Join Date: Oct 2014
Posts: 1,032
If you are still looking, Send me your site link so I will fix that problem
__________________
.
Our Services: Website Design | PSD to Responsive HTML5 | Logo Design | PHP/Custom Development | WordPress | E-commerce Development

Website: https://adultdc.com | Contact on: [email protected] | ICQ: 676735786 | Follow us on Twitter
jiguideveloper is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
bit, code, css, background, stuck, left, image, managed, delete, central, text, view, move, source, page, class=readmore, center, text-align, adding, bunch, figure, button, website, read, hate



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.