Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Member futurepocket's Avatar
    Join Date
    Jan 2011
    Posts
    30
    Member #
    26125
    Hi,
    On:

    Future Pocket

    You can see in the headline, that there is no space between the text:

    "injuries and the roster change.
    The first "

    or the two separate paragraphs. Similarly, on:

    Future Pocket About

    you can see that there is no space between "frequently answered questions" and "#1" and I found out its because in some places, the theme is automatically changing the <br /> tags to <p> tags. How would I go about correcting this?

    Here's all the code for "headline" from the styles.css file:

    Code:
    #headline {
    
    	width:590px;
    
    	float:left;
    
    	background:#fff;
    
    	padding:10px;
    
    	font-size:1.05em;
    
    	line-height:1.5em;
    
    	margin:0;
    
    	}
    
    
    
    #headline  div.title {
    
    	font-weight:bold;
    
    	font:2.4em Georgia;
    
    	letter-spacing:-0.05em;
    
    	display:block;
    
    	padding-bottom:5px;
    
    	}
    
    
    
    #headline div.meta {
    
    	display:block;
    
    	margin-top:-5px;
    
    	padding-bottom:2px;
    
    	}
    
    
    
    #headline p {
    
    	padding-bottom:15px;
    
    	}
    and everything about posts:

    Code:
    .post {
    
    	font-size:1.05em;
    
    	line-height:1.75em;
    
    	}
    
    
    
    .post p {
    
    	margin-top:0px;
    
    	}
    
    
    
    .post .clearfloat {
    
    	border-bottom:1px dotted #ccc;
    
    	margin:10px 0px;
    
    	}
    
    
    
    .post ul, .post ol, #front-list ul, #front-list ol {
    
    	margin-bottom:15px;
    
    	}
    
    
    
    .post ul li, #front-list ul li {	
    
    	list-style:square;
    
    	margin-left:30px;
    
    	}
    
    
    
    .post ol li, #front-list ol li {	
    
    	list-style:decimal;
    
    	margin-left:30px;
    
    	}
    
    
    
    .post ol li ul li, #front-list ol li ul li {	
    
    	list-style:square;
    
    	margin-left:20px;
    
    	}
    
    
    
    .post img, .post a img, #front-list img, #archive img {
    
    	margin:0 10px 5px 0;
    
    	padding:2px;
    
    	}
    
    
    
    .post .ads {
    
    	margin-top:10px;
    
    	}
    Any idea on what needs to be edited to fix this issue on the website? Thanks!

  2.  

  3. #2
    Senior Member Dorky's Avatar
    Join Date
    Jun 2009
    Location
    Destin Florida
    Posts
    1,430
    Member #
    19103
    Liked
    4 times
    the p tag is correct. change the padding in your css for those tags to 3px up to 5px.
    padding: 5px;

    while($get_it !== true){ continue; }

  4. #3
    Junior Member
    Join Date
    Dec 2010
    Posts
    13
    Member #
    25897
    I'm not seeing the first problem. Maybe it's been fixed already or the site has changed or isn't being rendered in my specific browser? No idea. Dorky has the right idea about changing the padding. Either by creating additional padding or adding padding altogether. As for the second one on the about page. It really seems as if that section should be another OL anyways instead of separate paragraphs with emphasis on the headings. It is an ordered list after all. Might be kinda confusing to change that and edit the CSS with too many nested lists if you're not familiar with CSS much or at all.

    Sorry can't help or explain why WP would change a BR to a P.

  5. #4
    Member futurepocket's Avatar
    Join Date
    Jan 2011
    Posts
    30
    Member #
    26125
    Hey guys, thanks for your response but I figured it out! The headline was messed up because it took (under functions) from WordPress excerpt, and if not entered, would use excerpt from WordPress which messed up the spacing.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 09:39 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com