soapy
MemberForum Replies Created
-
Just want to know if someone can offer any help….on my site I have box shadow on the right sidebar widgets and also on the “continue reading” button. It shows up on chrome, FF, safari….even IE8….but it will not show up on IE9. Anyone know why?? Here is my CSS:
.sidebar div.sidebar-wrap {
-moz-box-shadow: 0px 0px 5px #161616 !important;
-webkit-box-shadow: 0px 0px 5px #161616 !important;
box-shadow: 0px 0px 5px #161616 !important;
}
.block-button, .block-button:visited, .block-button:hover, .Button {
background: none repeat scroll 0 0 #6AD3E6;
border: 2px solid #0063BE;
box-shadow: 0 0 5px #161616;
color: #000000;
text-shadow:none;
padding:7px 15px;
}Neither of these (box shadow) are working….please help!
Hey Josh,
I added the code to my child functions.php file….but it didn’t change anything. Any ideas why?
Here is my functions.php file:
<?php
function searchfilter($query) {
if ($query->is_search) {
$query->set('post_type',array('post'));
}
return $query;
}
add_filter('pre_get_posts','searchfilter');
// Change "Read the rest of this entry" link Button
function graphene_filter_readmore( $translated, $original, $domain ) {
$strings = array(
'Continue reading »' => 'My New Text »',
);
if ( ! empty( $strings[$original] ) ) {
$translations = &get_translations_for_domain( $domain );
$translated = $translations->translate( $strings[$original] );
}
return $translated;
}
add_filter( 'gettext', 'graphene_filter_readmore', 10, 3 );
?>Thanks, I will try this when I get home.
One other question Josh, I’m pretty good with HTML and CSS….and I use firebug to troubleshoot when I need to find the name of a CSS element to modify it.
I don’t have much experience with PHP. My quesiton is….is there a way to determine the php code you need to modify when looking at something specific…just like there is with CSS and firebug??
Thanks Josh
Didn’t know about the more tag….thank you Prasanna!
Thanks Prasanna!
That worked! I was using “font”…..which wouldn’t work. But “font-family” does it!
Thanks!
Never mind….got it…
#text -2 a {display: block;}did the trick!
Ken,
This worked great, thanks a lot!!
One more question….the default for the search widget is that it displays the word “search” in the search bar. Would you know how I could hide this?? I don’t want the word “search” to appear in the bar….because it already appears on the search button and seems redundant. Thanks Ken!
