I need a bit of CSS help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Pink24
    So Fucking Banned
    • Aug 2019
    • 1436

    #1

    Tech 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
    Confirmed User
    • Aug 2006
    • 9231

    #2
    Either mess with the padding, or put the text itself into a span and apply "margin: 0 auto;" to the span.
    Mechanical Bunny Media
    Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development

    Comment

    • Pink24
      So Fucking Banned
      • Aug 2019
      • 1436

      #3
      Originally posted by k0nr4d
      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.

      Comment

      • Colmike9
        (>^_^)b
        • Dec 2011
        • 7217

        #4
        Originally posted by Pink24
        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..

        Comment

        • Pink24
          So Fucking Banned
          • Aug 2019
          • 1436

          #5
          Originally posted by Colmike7
          PM me the link if you want, too.
          Thanks, sent you a message.

          Comment

          • jiguideveloper
            Confirmed User
            • Oct 2014
            • 1104

            #6
            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

            Comment

            Working...