Custom CSS question?

Discussion in 'BlackHat Lounge' started by schleprock, Jun 17, 2016.

  1. schleprock

    schleprock Jr. VIP Jr. VIP

    Joined:
    Apr 10, 2014
    Messages:
    598
    Likes Received:
    57
    Gender:
    Male
    Occupation:
    Driver
    Location:
    Oregon
    I used this custom css command on my LP

    body .row a {
    font-size:50px !important;
    }

    THe problem is that it makes all the text on the page 50px, that aren't in Heading, Sub Heading areas. Those do what they are supposed to do

    I have photo credits in the footer and they are 50px. Way too big.
    Any ideas on how to force the accreditation to be smaller.
    I have tried H5 tags, and font size tags, nothing works.

    Here is the LP
    http://ragingalcoholic.com/go/get-addiction-treatment-now/

    No amount of Google querying seems to yield results.

    The LP theme forum said to reduce the

    font-size:50px !important; to 20px, but then I lose my big buttons with the phone number in them

    it is a little off topic for BHW but I hope someone knows the answer. I'm not finding a solution through normal sources
     
  2. LuckyDeath

    LuckyDeath Newbie

    Joined:
    Jan 25, 2015
    Messages:
    11
    Likes Received:
    5
    Your selector sets font-size: 50px to all your links. If you want to set font-size just for buttons, you have to be more specific - try this:

    .btn-lg { font-size: 50px !important }

    and remove your old code.

    EDIT: You have really many errors in your code, you should hire someone to do it for you
     
    • Thanks Thanks x 1
    Last edited: Jun 17, 2016
  3. schleprock

    schleprock Jr. VIP Jr. VIP

    Joined:
    Apr 10, 2014
    Messages:
    598
    Likes Received:
    57
    Gender:
    Male
    Occupation:
    Driver
    Location:
    Oregon
    You are %#$* awesome. That fixed everything.

    Thanks
     
  4. LuckyDeath

    LuckyDeath Newbie

    Joined:
    Jan 25, 2015
    Messages:
    11
    Likes Received:
    5
    No problem. :)