latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

About: Steve Schueth

Sorry, I've not written a description yet. I'll get to it soon!


Topics I'm Subscribed To


Topics I've Started


My Latest Replies (From Various Topics)

Viewing 11 replies - 1 through 11 (of 11 total)
Author Replies
Author Replies
Posted: Wednesday Dec 5th, 2012 at 12:29 pm #33581

Hello ~

Christian, I followed the steps you outlined and nothing worked. It did work to add that code to the stylesheet that Bruce suggested. Thank you. I hope this does not signify a bigger problem!

Posted: Friday Sep 28th, 2012 at 6:02 pm #26894

nevermind – changed the url in my shortcode!

Posted: Thursday Sep 20th, 2012 at 4:28 pm #25990

Dave, that helped. Thank you. I have another form on a different page that still has a lot of space at the top: http://daynasaraya.com/subscribe/

If you have any other suggestions I’d appreciate it.

Posted: Thursday Sep 20th, 2012 at 12:04 pm #25967

Dave – I am now scouring the css of the form to decrease the space at the top of the page, and below the decription, and am not having much luck. Could you take a look at this page and let me know if you see how to tighten this form up? http://daynasaraya.com/subscribe-2/

thanks!

Posted: Thursday Sep 20th, 2012 at 11:33 am #25965

oh wow, didn’t see your last post Dave – that worked! thanks so so so much!

Posted: Thursday Sep 20th, 2012 at 11:31 am #25963

yes, here it is:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"  <?php language_attributes( ) ?>>
<head>
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=UTF-8" /> 
	
	<title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
       <?php wp_head(); ?>
	<link rel="alternate" type="application/rss+xml" title="RSS2.0" href="<?php bloginfo('rss2_url'); ?>" />
	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
	<link rel="stylesheet" type="text/css"  media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />

	<?php  $al_options = get_option('al_general_settings'); ?>
	
   	<?php if(!empty($al_options['al_favicon'])):?>
	<link rel="shortcut icon" href="<?php echo $al_options['al_favicon'] ?>" /> 
 	<?php endif?>
    <!--[if IE ]><link rel="stylesheet" type="text/css" href="<?php echo get_template_directory_uri() ?>/css/ie.css" /><![endif]-->
  	
   <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>

   
    <!--[if lte IE 6]><script src="<?php echo get_template_directory_uri() ?>/js/ie6/warning.js"></script><script>window.onload=function(){e("<?php echo get_template_directory_uri()  ?>/js/ie6/")}</script><![endif]-->
  
    <?php if (isset($al_options['al_skin']) && $al_options['al_skin'] != '' ): $patcolor =  isset($al_options['al_patterncolor']) ? $al_options['al_patterncolor'] : 'blue'?>
       	<link rel="stylesheet" type="text/css" href="<?php echo get_template_directory_uri() ?>/css/styles/<?php echo $al_options['al_skin']?>/<?php echo $patcolor?>.css" /> 	
  	<?php endif ?>
    <?php if (isset($al_options['al_layout']) && $al_options['al_layout'] == '1' ): ?>
    	<link rel="stylesheet" type="text/css" href="<?php echo get_template_directory_uri() ?>/css/fixed.css" />
    <?php endif ?>
    
	<?php include (TEMPLATEPATH . '/css/dynamic-styles.php'); ?>
   	    <?php 
   		$bodyFont = isset($al_options['al_body_font']) ? $al_options['al_body_font'] : 'off';
		$headingsFont =(isset($al_options['al_headings_font']) && $al_options['al_headings_font'] !== 'off') ? $al_options['al_headings_font'] : 'off';
		$menuFont = (isset($al_options['al_menu_font']) && $al_options['al_menu_font'] !== 'off') ? $al_options['al_menu_font'] : 'off';
	
		$fonts['body, p, a'] = $bodyFont;
		$fonts['h1, h2, h3, h4, .callouttext'] = $headingsFont;
		$fonts['.sf-menu > li > a'] = $menuFont;
		
		foreach ($fonts as $value => $key)
		{
			if($key != 'off' && $key != ''){ 
				$api_font = str_replace(" ", '+', $key);
				$font_name = font_name($key);
				
				echo '<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family='.$api_font.'" />';
				echo "<style type=\"text/css\">".$value."{ font-family: '".$key."' !important; }</style>";			
			}
		}
	?>
</head>

<body  <?php body_class(); ?>>
<?php //include (TEMPLATEPATH . '/optionspanel.php'); ?>
<!-- Top menu begins -->
<div id="topnav">
	<div class="container">
		<?php echo do_shortcode($al_options['al_header_left']) ?>
        <?php echo do_shortcode($al_options['al_header_right']) ?>
  		<div class="clear"></div>
	</div>
</div>

<!-- Header begins -->
<div id="header">	
    <a href="<?php echo site_url() ?>">
		<?php if(!empty($al_options['al_logo'])):?>
            <img src="<?php echo $al_options['al_logo'] ?>" alt="<?php echo $al_options['al_logotext']?>" class="logo" />
        <?php else:?>
            <?php echo isset($al_options['al_logotext']) ? $al_options['al_logotext'] : 'Miriam' ?>
        <?php endif?>
    </a>
    <div class="topBanner"><a href="http://daynasaraya.com/join-now/"><img src="http://daynasaraya.com/wp-content/uploads/2012/07/join-today.png"></a><br /><div align="center" style="margin-top:8px;"><a href="http://daynasaraya.com/subscribe/">Stay informed with our email updates.</a></div>
		<?php echo do_shortcode($al_options['al_header_banner']) ?>
	</div>
</div>


<!--Main Bar-->
<div id="nav">
	<div class="container">
    <!--Main Nav--> 
        <?php 
            if(function_exists('wp_nav_menu')):
                wp_nav_menu( 
                array( 
                    'menu' =>'primary_nav', 
                    'container'=>'div', 
                    'depth' => 4, 
                    'container_id' => 'menu',
                    'container_class' => 'dd',
                    'menu_class' => 'sf-menu'
                    )  
                ); 
            else:
                ?>
                <div id="menu">
                    <ul class="sf-menu top-level-menu"><?php wp_list_pages('title_li=&depth=4'); ?></ul> 
                </div>
                <?php
            endif; 
        ?>
        
        <div class="clear"></div>
       
    </div>
    
</div>
    
Posted: Wednesday Sep 19th, 2012 at 3:51 pm #25846

Hi David,

Hmmm.. there are a few references to the stylesheet here in the header code. I tried moving the wp_head(); function up above all of them (right under the tag), but the form still stayed stripped of code. Below is the header code if you want to check it out (un-modified). I can’t figure out where I found the default css for the form. Do you have an idea?

———————————————

<html xmlns="http://www.w3.org/1999/xhtml&quot; >

<meta http-equiv="Content-Type" content="; charset=UTF-8″ />

<link rel="alternate" type="application/rss+xml" title="RSS2.0" href="” />
<link rel="pingback" href="” />
<link rel="stylesheet" type="text/css" media="all" href="” />

<link rel="shortcut icon" href="” />

<link rel="stylesheet" type="text/css" href="/css/styles//.css” />

<link rel="stylesheet" type="text/css" href="/css/fixed.css” />

li > a’] = $menuFont;

foreach ($fonts as $value => $key)
{
if($key != ‘off’ && $key != ”){
$api_font = str_replace(” “, ‘+’, $key);
$font_name = font_name($key);

echo ”;
echo “”.$value.”{ font-family: ‘”.$key.”‘ !important; }”;
}
}
?>

<body >

<a href="”>

<img src="” alt=”” class=”logo” />



Stay informed with our email updates.


‘primary_nav’,
‘container’=>’div’,
‘depth’ => 4,
‘container_id’ => ‘menu’,
‘container_class’ => ‘dd’,
‘menu_class’ => ‘sf-menu’
)
);
else:
?>

    Posted: Wednesday Sep 19th, 2012 at 9:49 am #25797

    Hi Raam,

    I guess I didn’t add that link into my original question, but I did follow those instructions, and when I pasted the css into my theme stylesheet it stayed stripped of code.

    Would you be willing to answer my other questions as well – where do I find the checkbox to turn on/off the default css, and the link to find the default code?

    Posted: Thursday Aug 9th, 2012 at 4:18 pm #21661

    I have copied the S2 member css into my stylesheet but when I modify it it doesn’t change. I even tried adding the file s2member-o.php as it describes here (http://www.s2member.com/faqs/#s2-faqs-pro-form-template-mods) and it does strip the css, but still does not pick up my css from my stylesheet. Any help is greatly appreciated!

    Posted: Thursday Aug 9th, 2012 at 1:13 pm #21648

    Hi Eduan,

    I looked at that link you sent me to modify the forms and have a question. I see that I can add styles to my stylesheet to modify the look of the form. But where do I find the current styles so that I can modify them and add them to my stylesheet?

    Thank you.

    Posted: Thursday Aug 9th, 2012 at 12:55 pm #21647

    thanks I will look into that. Another question… since I am using Authorize.net and not paypal, what is the process for posting my membership options to my membership options page?

    Viewing 11 replies - 1 through 11 (of 11 total)

    Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

    Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.