itsyourblessing3
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Removing toggle drop down menu from mobile devicesWell, it was solved but ugly.
I removed the code in the mobile section of the stylesheet, so it retained the desktop navbar. I have to tweak the padding to make everything fit in the mobile.
Forum: Themes and Templates
In reply to: Removing toggle drop down menu from mobile devicesI found the following in the functions.php:
// Enqueues scripts and styles for front-end function onecolumn_scripts() { wp_enqueue_style( 'onecolumn-style', get_stylesheet_uri() ); wp_enqueue_script( 'onecolumn-nav', get_template_directory_uri() . '/js/nav.js', array( 'jquery' ) ); wp_enqueue_style( 'onecolumn-googlefonts', '//fonts.googleapis.com/css?family=Open+Sans' ); if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); } // mobile nav args $onecolumn_mobile_nav_args = array( 'navText' => __( 'Menu', 'onecolumn' ) ); // localize script with data for mobile nav wp_localize_script( 'onecolumn-nav', 'objectL10n', $onecolumn_mobile_nav_args ); } add_action( 'wp_enqueue_scripts', 'onecolumn_scripts' );It appears the author added this to flip up the mobile functioning, but I would like to remove it!
This tipped me off, but I’m a newbie. Can someone please advise me on how to proceed? Thanks!
https://ww.wp.xz.cn/support/topic/sub-menu-items-expanded-by-default?replies=3
Forum: Themes and Templates
In reply to: [OneColumn] Different widths for submenusAny idea of how to remove the toggle menu on OneColumn’s mobile phone layout leaving the regular desktop navbar, Toni? Thanks :)!
Forum: Themes and Templates
In reply to: Removing toggle drop down menu from mobile devicesHere is the code for the desktop version regarding lists:
/* TABLE AND LISTS */ table {margin:10px 0; border-collapse:collapse;} table, th, td {border: 1px solid #ccc; padding:5px 10px;} table th {font-weight:bold;} ul {list-style:square; margin:5px 0 5px 0;} ol {list-style:decimal; margin:5px 0 5px 0;} li {margin:0 0 0 20px;} dl {margin:10px 0;} dt {font-weight:bold;} dd {margin:0 0 0 20px;}YAY!!! Thanks, Jose! It worked! Thanks, Andrew!
Stylesheet: http://pastebin.com/ZHCXUYD7
Here is the stylesheet:
[Large code excerpt removed by moderator per forum rules. Please use Pastebin for all large code excerpts. It works better anyway.]
This is from single post (single.php):
<?php /* * The template for displaying single post. */ ?> <?php get_header(); ?> <div id="content"> <?php while (have_posts()) : the_post(); ?> <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <h1 class="page-title-post"><?php the_title(); ?></h1> <?php get_template_part( 'postmeta' ); ?> <?php the_content(); ?> <?php if ( $multipage ) { ?> <div class="pagelink"><?php wp_link_pages(); ?></div> <?php } ?>Thanks, Andrew. I tried adding the code using the CSS plug-in to no avail. I tried a second plug-in that was tested with my wp version to no avail. I went in and added the code to the stylesheet also. But it didn’t remove the title. I’ll post the style sheet if possible, but here is the section:
/* POST */
#post-52.paged-3 .entry-title {display: none;}
.post-title {clear:both; font-size:2.0em; line-height:1.5em;}
.post-title a:hover {color:#333; text-decoration:none;}
.sticky {clear:both; display:block; text-align:center; color:#fff; background:#FF0000; margin:0 0 10px; padding:5px;}
.postmetadata {display:none;}
.more {width:100%; clear:both; display:block; float:left; margin:20px 0; padding:0 0 20px; border-bottom:2px solid #eee;}
a.readmore {float:right; padding:2px 10px; background:#FF0000; color:#fff; text-decoration:none;}
a.readmore:hover {background:#333; text-decoration:none;}Thanks, Andrew. I tried adding the code using the CSS plug-in to no avail. I tried a second plug-in that was tested with my wp version to no avail. I went in and added the code to the stylesheet also. But it didn’t remove the title. I’ll post the style sheet if possible, but here is the section:
/* POST */ #post-52.paged-3 .entry-title {display: none;} .post-title {clear:both; font-size:2.0em; line-height:1.5em;} .post-title a:hover {color:#333; text-decoration:none;} .sticky {clear:both; display:block; text-align:center; color:#fff; background:#FF0000; margin:0 0 10px; padding:5px;} .postmetadata {display:none;} .more {width:100%; clear:both; display:block; float:left; margin:20px 0; padding:0 0 20px; border-bottom:2px solid #eee;} a.readmore {float:right; padding:2px 10px; background:#FF0000; color:#fff; text-decoration:none;} a.readmore:hover {background:#333; text-decoration:none;}[Moderator note: code fixed. Please wrap code in the backtick character or use the code button.]
Thank you, Andrew. I tried adding the code to the style sheet. It didn’t remove the title. I used the Custom CSS Manager plug in, but it didn’t remove it. I tried another CSS plug in that was tested with my wordpress version. Bu it didn’t work. I also replaced the # with a . to match the other code in the post section of the style sheet, but that didn’t work either. What do you think? Thanks.
Here is the code:
[Large code excerpt removed by moderator per forum rules. Please use Pastebin for all large code excerpts. It works better anyway.]
Forum: Plugins
In reply to: [upPrev] IFTTT for multi-page posts?Any word? I love this plugin. I have long feature posts, too. Thanks!
Forum: Plugins
In reply to: [Plug in: Easy Google Fonts] Header font family changes post title font alsoI created a new font control and found the proper tag.
This is the code in the style sheet pertaining to the menu on mobile version:
/* MENU */
.nav-head ul {display:none;}
.nav-head {padding:0;}
.nav-head select {display:block; width:100%; height:35px; margin:0 auto 0; font-size:1em; line-height:1.2em; color:#333; background:#f8f8f8; border:0;}Forum: Fixing WordPress
In reply to: Hiding posted date/author using CSS plug-in not workingYes, that worked – unfortunately I hunted around loads more before finding that on my own. Thank you! You rock!