Stupid question

Discussion in 'Co-op Advertising Network' started by thebassman, Aug 23, 2005.

  1. #1
    I just added another site, but it's my first non-forum site. How can I change the font and color of the ads? It's a php-based site. Text links only.
     
    thebassman, Aug 23, 2005 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    Wrap the $ad_network variable in <div> tags (with a style used).
     
    digitalpoint, Aug 23, 2005 IP
  3. thebassman

    thebassman Asleep at the Keyboard

    Messages:
    1,105
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    140
    #3
    So where in this file?

    <?php
    	ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    	include ('ad_network_357.php');
    	echo $ad_network;  
    ?>
    Code (markup):
     
    thebassman, Aug 23, 2005 IP
  4. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #4
    There are a lot of different ways you could do it. For example:

    <?php
    ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    include ('ad_network_357.php');
    $ad_network = '<div style="whatever">' . $ad_network . '</div>';
    echo $ad_network;  
    ?>
    PHP:
     
    digitalpoint, Aug 23, 2005 IP
  5. thebassman

    thebassman Asleep at the Keyboard

    Messages:
    1,105
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    140
    #5
    :( Man, I feel like a tard... :( I guess I really gotta take some time and learn to code myself... if I just want the font to be white, what do I put in the "whatever" spot? :eek:
     
    thebassman, Aug 23, 2005 IP
  6. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #6
    It's just normal CSS stuff... so like color: #fff;...
     
    digitalpoint, Aug 23, 2005 IP
  7. thebassman

    thebassman Asleep at the Keyboard

    Messages:
    1,105
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    140
    #7
    I tried that, but it didn't work.

    <?php
    ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    include ('ad_network_357.php');
    $ad_network = '<div style="color: #ffffff">' . $ad_network . '</div>';
    echo $ad_network;  
    ?>
    Code (markup):
     
    thebassman, Aug 23, 2005 IP
  8. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #8
    Probably will need to use other CSS attributes to set link colors. I forgot for a second that most of the text is anchor text. :)
     
    digitalpoint, Aug 23, 2005 IP
  9. thebassman

    thebassman Asleep at the Keyboard

    Messages:
    1,105
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    140
    #9
    be damned if I know what to do still, though. lol.
     
    thebassman, Aug 23, 2005 IP
  10. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #10
    Post in the CSS forum, because how to change the anchor text color with CSS is really a CSS question. And I don't know off the top of my head (I'm not a web designer).
     
    digitalpoint, Aug 23, 2005 IP
  11. thebassman

    thebassman Asleep at the Keyboard

    Messages:
    1,105
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    140
    #11
    ok, thanks.
     
    thebassman, Aug 23, 2005 IP