clovis
Forum Replies Created
-
Forum: Themes and Templates
In reply to: How to change the main body text colour in twentytenCouldn’t find anywhere in Firebug that related to p or that text color (except the crossed out bit, see above) so just put this in the css and it worked!!
p { color:#ffffff; }
Whoop!!
…a pathetic ‘whoop’ but is after 2 hours of tryingThanks @AndrewNevins
Forum: Themes and Templates
In reply to: How to change the main body text colour in twentytenPutting #FFFFFF here didn’t work either:
.page-id-15139 .main, .page-id-15139 .container, .page-id-15139 .top { width:1000px; color:#FFFFFF }
oh didn’t see these replies! is it bad to leave it as text-align: right; ?
weird, I put
text-align:right;
instead of center and now it’s centered in relation to the banner.For other ultra noobs like me, style.css now has:
.my-copyright { width: 700px; margin: 0; text-align: right; }
Thanks @alieneila and @wpyogi for the solution! ??
@alieneila Ah great, thanks! Now the text is on one line and almost in the centre, but still a little more over to the left. Is there a way to move it over to the right a bit more? e.g. so that it centers in relation to the banner (in twentyten theme)
Thank you v much! I’m trying @wpyogi ‘s solution first, then I’ll try @alieneila ‘s.
I put
<div class="my-copyright">Copyright blah blah blah</div>
after</div><!-- #site-info -->
and before<div id="site-generator">
in my child theme’s footer.php
@wpyogi so far I’ve got the text to show on the page and run along the bottom (not get stuck in a widget area) but the first part of my text starts one line above and way over on the right and the rest starts right over on the left hand side, one line down.
I tried different positions of the php in footer.php but that made no difference, all looked the same (except if you put it after the wrapper)
Then I tried all different values for margin (I don’t know what the standard values for margins are! :s) and it still won’t centre or go on one line
.my-copyright { width: 700px; margin: 0 auto 0; }
I’m looking up margin values now to see what what values they should have but if you could tell me where I’m going wrong that’d be great!
Thank you @alchymyth and @wpyogi ! I’ve found the location in my child theme’s footer.php but have no idea what to write to get the text I want to show up! I’ve been trying to work out the solution but failed so far! I don’t know enough about how php and css works ??
In my style.css file I have:
#site-generator{display: none;}
and this in footer.php
get_sidebar( 'footer' ); ?> <div id="site-info"> <a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"> <?php bloginfo( 'name' ); ?> </a> </div><!-- #site-info --> <div id="site-generator"> <?php do_action( 'twentyten_credits' ); ?> <a href="<?php echo esc_url( __( 'https://www.ads-software.com/', 'twentyten' ) ); ?>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyten' ); ?>" rel="generator"><?php printf( __( 'Proudly powered by %s.', 'twentyten' ), 'WordPress' ); ?></a> </div><!-- #site-generator --> </div><!-- #colophon --> </div><!-- #footer -->
is there somewhere I can insert the actual text I want to show on the page?
I found a sort of solution. Still not exactly what I want, but better than nothing!
UBER NOOBIE INSTRUCTIONS:
Go to Twitter account / settings/ widgets
choose your options – e.g. for appearance etc
including setting your Twitter username and domain name of website where you want to embed your Twitter profile timeline
Then press save and it generates the code for you.
Then paste this code into your wordpress page making sure tab is on HTML not VISUAL
and then click at the start of it and press the ‘code’ button
then click at the end of this code and click ‘/code’ button
update and the Twitter feed appears on your page (rather than in a widget area)Problem is it’s very narrow – although you can set height in Twitter can’t see how to set width, so it just positions left of the page.
Would like to have got a news feed went across the whole page up to the side bar so if anyone knows how to do this I’d be v grateful! ??
Forum: Themes and Templates
In reply to: TwentyEleven Continue Reading@mrmark Aha, thanks! ??
Interestingly (or, at least for a novice), when I put a blank content.php file in my child theme folder, the ‘search’ seems to work, but it no longer ‘finds’ anything on the site (even though I enter a search term I know is there and it used to find) and the message changes: it says- ‘nothing found’ in some browsers, or else, “search results for: …” with no results (instead of bringing up excerpts and the ‘continue reading’ text/link). However, when I deleted the blank “content.php” from the child theme folder, the old search message is back (including ‘continue reading’) and it ‘finds’ my search term items again.
Thanks @esmi @jan I read somewhere that you can’t use the exact same code in both the functions.php of the parent and of the child theme (otherwise you get an error message?)..is that true of content.php? Does that mean I should save a blank file (save it as content.php) and then just put the small amount of php code in that relates to ‘search results’ ‘continue reading’ text (whatever that code is), and then modify it, or should I make an entire copy of content.php in the parent file and then put that in the child theme folder (e.g. which has all the parent php code) and just modify the bit of that code I want to change? Thanks!
Do I need to put any other php files in the child theme folder (at the moment I have only style.css), or can I just save a new file as contents.php, paste in the relevant php code (which I guess I can find with Firebug) and then change the wording, and put that in the child theme folder?
Forum: Themes and Templates
In reply to: TwentyEleven Continue ReadingSorry! I thought it was the same topic as the first poster! (I’m a complete beginner)
Forum: Themes and Templates
In reply to: TwentyEleven Continue ReadingWhen the search results come up on my site, at the end of the excerpts there is the text: “continue reading” which I want to change to something else.
I’m using twentyeleven theme with a child theme. Is it possible to change this text simply by putting something in the style.css in my child theme folder? (rather than putting a php file in the child theme folder and tweaking as above). Thanks! (and apologies if this is a stupid question!)Forum: Themes and Templates
In reply to: Changing the footer in my twenty-eleven child themeWorked perfectly! Thanks!