pedro-tejada
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Fluid Background on Twenty TenSolved! The code I posted worked perfectly… I just applied it to the body through my CSS and worked out… Seems to be that some old coding I did on the CSS regarding body width was the problem!
Thanks!
Forum: Themes and Templates
In reply to: Fluid Background on Twenty TenHi!
I know in which file to insert it… It a child theme… I’ve tried it onto #html and #body on my CSS… With the address of my picture (hosted on my WP), but I just can’t make it work…
Forum: Themes and Templates
In reply to: Fluid Background on Twenty TenI’ve googled it and found some code snippets, like that one:
{
background: url(https://motoledo.com.br/wp-content/uploads/2011/01/BG1.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}I just don’t know how and where to place it… It seems that TwentyTen custom background system mess it up :/… At least make harder for me to find the right place for the code!
Forum: Themes and Templates
In reply to: [Twenty-Ten] Entry Title only in Category and Tags ArchivesSolved my problem!
Just deleted the PHP line that showed the entry-title on the One Column Page Template:
<h1 class="entry-title"><?php the_title(); ?></h1>
Thanks ??
Forum: Themes and Templates
In reply to: Re-Styling Twenty Ten Tags Archives PageI kinda started to solve my problem using body classes. For the home page ID (6), I set a larger width for the content image! Worked ok…
No I’m just facing one problem: I want to have the text at 960px in some of my pages, but I can’t add any body classes to .entry-content. If I switch the entry content on those pages to 960px they happens to work exactly like I want, but it messes up with the other pages that have sidebars… There are any ways to add a body class to .entry-content, so only in the pages I want it would setup a 960px width?
Thanks a lot again!
Forum: Themes and Templates
In reply to: Re-Styling Twenty Ten Tags Archives PageThanks!
Worked perfect!
The only problem now, is that the images that will show up appears in the original szie, not in the one that I setup on my posts: https://ameliatoledo.com/tag/espaco/
I changed the content image max width to 960px, so it shows my frontpage picture properly… Any tips on how to solve that?
Again,
Thanks a lot for the help!EDIT: I tried to play with some CSS settings… I figured out that my Single Column page template don’t align the text in the center of the page: https://ameliatoledo.com/biografia/
How could I solve that without messing up the other page template? (Right sidebar)?
Forum: Themes and Templates
In reply to: Different Colors on Pages (Via Page Templates!)I was afraid that maybe thematic body_class wasn’t properly placed, but I tested including this to hide my entries titles…. Worked perfectly, so I’m pretty sure that it is something in the css… Any tips?
`body.page .entry-title {
display:none;}`
Forum: Themes and Templates
In reply to: Different Colors on Pages (Via Page Templates!)Hi!
I had to slow down this project due to some other problems, but now thanks god I’m able to work on it again!
I followed the instructions on the link but didn’t obtained success.
I’m using the thematic template with a child theme. The thematic already came with the bodyclass line on the header.php file:
<?php // Creating the doctype thematic_create_doctype(); echo " "; language_attributes(); echo ">\n"; // Creating the head profile thematic_head_profile(); // Creating the doc title thematic_doctitle(); // Creating the content type thematic_create_contenttype(); // Creating the description thematic_show_description(); // Creating the robots tags thematic_show_robots(); // Creating the canonical URL thematic_canonical_url(); // Loading the stylesheet thematic_create_stylesheet(); // Creating the internal RSS links thematic_show_rss(); // Creating the comments RSS links thematic_show_commentsrss(); // Creating the pingback adress thematic_show_pingback(); // Enables comment threading thematic_show_commentreply(); // Calling WordPress' header action hook wp_head(); ?> </head> <?php if (apply_filters('thematic_show_bodyclass',TRUE)) { // Creating the body class ?> <?php } // action hook for placing content before opening #wrapper thematic_before(); ?> <body <?php if (function_exists('body_class')) body_class(); ?>> <div id="wrapper" class="hfeed"> <?php // action hook for placing content above the theme header thematic_aboveheader(); ?> <div id="header"> <?php // action hook creating the theme header thematic_header(); ?> </div><!-- #header--> <?php // action hook for placing content below the theme header thematic_belowheader(); ?> <div id="main">
I tried different ways to change the BG Color (Page template, page ids…). None worked.
On my css I created the following lines:
body.page-template-orange { background-color:#FC9; } body, input, textarea { font: 15px Georgia,serif; line-height:22px; background-color:#666; }s
orange is the page-template I created to use this BG Color (#FC9). For all the other ones I want to keep the std color (#666).
The first question that I had was about how to use the page template class! If I had to put the page template name (the one I find on the back-end while creating a new page, the file name, the file name.php… I tried many ways and neither worked.
I’m really new to WordPress, so, sorry if it sounds a bit dumb, but so far I couldn’t make it work!
Thanks again for all the help,
Pedro!