• TDOMF works fine for me other than one problem. Tor some reason, I can’t style the form. The stylesheet that’s included doesn’t work, but neither using calls for the ID or CLASS in the theme stylesheet.

    Any ideas?

    Take a look at the problem here – https://appfrica.net/blog/submit-news-2

Viewing 5 replies - 1 through 5 (of 5 total)
  • The tdo-mini-forms stylesheet is not included in your theme. Does your theme have a “do_action(‘wp_head’);” in the header.php?

    You can manually include it by putting this in the header of your theme:

    <link rel="stylesheet" href="https://appfrica.net/blog/wp-content/plugins/tdo-mini-forms/tdomf-style-form.css" type="text/css" media="screen" />

    Or you could just use Form Hacker?

    Thread Starter jongos

    (@jongos)

    Thanks, that worked perfectly. Form hacker wasn’t working, I tried, but linking to the stylesheet worked out just fine.

    I too would like to tweak the style of the form. I didn’t see “do_action(‘wp_head’); in the header. Can I still link to the stylesheet?

    Of course.

    I’m new to the blogging. Does it matter where I put the code? My guess would be next to the other stylesheet link? Any book recommendations for css and php?

    Thanks!

    Here’s my header.php code:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="https://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
    <head profile="https://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php $rss = get_option('rss'); $feedurl = get_option('feedurl'); if($rss !== "hide") { if($feedurl == NULL) { bloginfo('rss2_url'); } else { echo ''.$feedurl.'';} }?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <style type="text/css">#header {background-image: url(<?php bloginfo('template_url'); ?>/images/<?php $logo = get_option('logo'); $logo = get_option('logo'); if($logo !== "hide") { if($logo == NULL) { echo 'logo.gif'; } else { echo ''.$logo.'';} }?>);}</style>
    <?php wp_head(); ?>
    </head>
    <body>
    
    <div id="container">
    
      <!-- Header Begin -->
      <div id="header">
    
        <!-- Logo -->
        <h1 id="logo"><a href="<?php bloginfo('url'); ?>/" title="Return To Home Page &raquo; <?php bloginfo('name'); ?>" tabindex="1">
        <?php bloginfo('name'); ?>
        -
        <?php bloginfo('description'); ?>
        </a></h1>
    
      </div>
    
      <!-- Menu Begin -->
      <div id="menu">
    
        <ul>
          <li<?php if ( is_home() ) { echo ' class="current_page_item"'; } ?>><a href="<?php bloginfo('url'); ?>/">Home</a></li>
          <?php wp_list_pages('title_li=&depth=1'); ?>
        </ul>
    
        <!-- RSS Link -->
         <?php $rss = get_option('rss'); $feedurl = get_option('feedurl'); if($rss !== "hide") { if($feedurl == NULL) {
    	 echo "<a href='";
    	 bloginfo('rss2_url');
    	 echo "' class='subscribe-to-rss'>Subscribe to RSS</a>";
    	 } else {
    	 echo "<a href='";
    	 echo ''.$feedurl.'';
    	 echo "' class='subscribe-to-rss'>Subscribe to RSS</a>";
    	 } }
    	 ?>
    
      </div>
      <!-- Header End -->
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: TDO Mini Forms] Styling the Form’ is closed to new replies.