David Beja
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Spun] Widget zoneTry adding:
.widget a { // whatever you want }
That should catch some of the widget content.
Forum: Themes and Templates
In reply to: [Spun] Widget zoneCan you give a link to your site?
And what elements do you want to change?Forum: Themes and Templates
In reply to: [Spun] Widget zoneyes, just add an hover rule:
.sidebar-link:hover { background: #aaa; /* for example... */ }
Forum: Themes and Templates
In reply to: [iFeature] Website pushed to the leftI think the problem is with the language switch div on the right.
Is it part of the theme?
It’s positioned too far to the right.Using your code, you could filter the post type like this:
add_action( 'admin_init', 'wpse_55202_do_terms_exclusion' ); function wpse_55202_do_terms_exclusion() { if( current_user_can('administrator') ) add_filter( 'list_terms_exclusions', 'wpse_55202_list_terms_exclusions', 10, 2 ); } function wpse_55202_list_terms_exclusions($exclusions,$args) { global $pagenow, $typenow; if (in_array($pagenow,array('post.php','post-new.php')) && $typenow == 'your-post-type') { $exclusions = " {$exclusions} AND ( t.term_id <> 43 ) AND ( t.term_id <> 42 )"; } return $exclusions; }
Forum: Themes and Templates
In reply to: How To Create A Responsive Theme From ScratchThis looks like a nice tutorial:
Forum: Themes and Templates
In reply to: [Spun] Widget zoneIf you check with Firebug you can see that the icon “+” doesn’t have any value for opacity. It’s just the background-color.
You can change with:
.sidebar-link { background: #ddd; /* for example... */ }
For the comments, you can also set:
#comments { display: block; }
Note that it’s better to make theme changes with a child theme or with a plugin that change the css dynamically, like Jetpack.
Hi johnwilliams2013,
Add this css to the Jetpack css editor:
.site-header h2 { font-size: 15px; }
Just change the font-size by the size you want.
Forum: Themes and Templates
In reply to: how to save modification to theme?What modifications did you do?
Theme options?Some options are not lost when you change the theme.
If you change theme and then come back to gommero theme, the options you set on Appearance > Theme Options are not lost.But if you want to make sure, make a backup of the theme and database.
Another option is to test the new theme in a local server or in another WordPress installation just for tests.
Forum: Themes and Templates
In reply to: [Spun] Some questionsDid you change for the new Child theme in Appearance > Themes?
Forum: Themes and Templates
In reply to: [Spun] Some questionsHi gfr77,
To make the widget area visible from the beginning, you can change it in the css.
In style.css you have:#secondary { clear: both; display: none; padding: 50px 0; }
If you comment the line display: none, the widget area will appear when you enter the page.
Anyway, you shouldn’t change this line directly in style.css file.
You could create a child theme or use some plugin that creates dynamic css.For the arrows opacity, also in style.css, you have:
.site-content #nav-below .nav-previous a:hover, .site-content #nav-below .nav-next a:hover, .site-content #image-navigation .nav-previous a:hover, .site-content #image-navigation .nav-next a:hover { opacity: 1; }
Just change the opacity level.
Forum: Developing with WordPress
In reply to: setting different static home pages for different themesHi jmusgrave918,
My suggestion would be to change what is shown on front page in functions.php of each theme.
For example, in the desktop version you would add something like this (in functions.php of desktop theme):
add_action( 'after_setup_theme', 'change_theme_frontpage' ); function change_theme_frontpage() { $frontpage = get_page(2); // 2 is the id of the page you want to show update_option('show_on_front', 'page'); // show on front a static page update_option('page_on_front', $frontpage->ID); }
And in the functions.php of the mobile theme:
add_action( 'after_setup_theme', 'change_theme_frontpage' ); function change_theme_frontpage() { update_option('show_on_front', 'posts'); // show on front latest posts }
Forum: Developing with WordPress
In reply to: WordPress Post ErrorI tried on my wordpress (3.5.1) but it didn’t change.
Are you still having that problem?Forum: Themes and Templates
In reply to: [Newschannel] Number of posts per pageHi ednickow,
You just have to go to Settings > Reading, and choose:
Blog pages show at most: 12
Forum: Themes and Templates
In reply to: Background Image Center (Please Help)Did you try:
background:#000000 url('images/bg.jpg') repeat center top;
If this is not what you want, do you have a link to understand better the problem?