Forum Replies Created

Viewing 15 replies - 76 through 90 (of 122 total)
  • can u provide a link so we can take a look?

    MAC ??

    Forum: Themes and Templates
    In reply to: span class

    ok, try this:

    .link_this a:link{
          color:#F90;
          text-decoration:none!important;
    }

    let me know.

    MAC

    color:#555;
    font-family:Verdana,Georgia,Sans-Serif;
    font-size:11px;

    MAC ??

    Forum: Themes and Templates
    In reply to: span class

    I tried that, it didn’t get it to work i still get a underline and the color is still default

    Of course! Your should be targeting the “a” not the “span”.

    Try this instead:

    .link_this a:link{
          color:#F90;
          text-decoration:none;
    }

    Although jdembowski is right and you could provide a URL so we don’t have to guess what the problem might be

    Cheers!

    MAC ??

    cool ??

    There are many ways to achieve that.

    this simple CSS aproach whould work:

    Add this logic to your markup:

    ′<div id=”postContainer”>
    <div class=”myPost”> your post #1 here </div>
    <div class=”myPost”> your post #2 here </div>
    <div class=”myPost”> your post #3 here </div>
    <div class=”myPost”> your post #4 here </div>
    </div>′

    Then add this to your CSS:

    ′#postContainer {
    width:600px;
    }
    .myPost {
    width:290px;
    float:left;
    margin: 0 5px;
    }′

    MAC ??

    That looks like a simple css issue.

    pboosten is right, you should provide the URL, so we can tell you wht to do.

    MAC ??

    Forum: Themes and Templates
    In reply to: style-pink.css

    That is the problem about refering to screen colours with names.

    What is pink? #fd8bf1 ? in my screen it might be this, in yours not by far.

    MAC

    Forum: Themes and Templates
    In reply to: Widget Problem

    put this on your sidebar:

    <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(1) ) : else : ?>
       add some default code here, should the user no wish to use any widget
    <?php endif; ?>

    Create a new document called functions.php on your theme index.php root and add thgis code to it, or append the block to it, should you allready have one:

    <?php
    if ( function_exists('register_sidebar') )
        register_sidebars(1, array(
    	'name'=>'wdgtSpot %d','before_widget' => '',
    	'after_widget' => '',
    	'before_title' => '<div class="title">',
    	'after_title' => '</div>',
    ));
    ?>

    There is some unessencial markup in the code block, but I find it very usefull to style the widget′s titles.

    Hope this helps.

    MAC ??

    Forum: Plugins
    In reply to: Problem with a javascript

    can u post the URL so we can have a look?

    Wht sort of mod, U wish to perform?

    MAC

    Forum: Plugins
    In reply to: targeting plugin actions
    Thread Starter MAzCastro

    (@fmacastro)

    Willenkemp you’re absolutely right.

    The problem is I am in fact replacing the content and not appending it, as I should. Thing is, I don’t know how to do it ??

    Can you help?

    MAC ??

    Forum: Plugins
    In reply to: targeting plugin actions
    Thread Starter MAzCastro

    (@fmacastro)

    Hi willkemp

    I had tried the filter and the result was roughly the same.

    But I understand that a filter is more adequate since I’m not depending on any event to trigger my plug-in functions (other then the loop).

    For now I’ve managed to do it by using a filter and hooking it to the “comments template”

    add_filter('comments_template' , 'myFunctuion');

    But I’m not satisfied. It does what I want but I’m now fully aware of the costs, I’ve tested it and so far so good, but it seems a bit dodgy…

    Shortcodes I’ve never used. I’ve surface-read something about them, but I guess I will eventually have to start reading something deeper about it.

    But for this case I really want the plug-in to be Universal (or closely) regardless of the template used, so I didn’t want to add anything to the template, and hook it to a “default” content location.

    Thanks for your help! I will continue digging it till I’m satisfied.

    MAC ??

    Forum: Plugins
    In reply to: Callig bloginfo from plugin

    I had the same problem, and actually came up with the solution while I was writing this very post.

    I’was writing a simple plug-in, on witch I needed to call a JavaScript.

    I was coding this:

    ′echo “<script> var ImPath=\” “. bloginfo(‘template_url’) .” \”</script>”;′

    And I was getting this:

    ′<script>https://myURL/wp-content/themes/mac2CAdvvar ImPath=” “</script>′

    Like neotoxic said, the URL was always in the beginning of the line on where it was invoked. So I played along:

    And I coded this:

    ′echo “<script”;
    echo “var ImPath=\” “;
    echo bloginfo(‘template_url’);
    echo “\”</script>”; `

    Finally got this:

    ′<script>var ImPath=”https://myURL/wp-content/themes/mac2CAdv”</script&gt; ′

    It’s simple, just isolate the ′echo bloginfo(‘template_url’);′ in a single line!

    Hope this helps someone in the future!

    MAC

    Have you tryed switiching your emails to “Plain text” instead of html?

Viewing 15 replies - 76 through 90 (of 122 total)