yelhca07
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Yoko] Yoko Theme: Sidebar, extra columnI should also note that within this CSS– I changed the look of the navigation menus. So if you want to retain the original look, don’t copy that part!
Forum: Themes and Templates
In reply to: [Yoko] Yoko Theme: Sidebar, extra columnWell you can call the function directly and say “get sidebar” but even when I wrote a function for each sidebar it wouldn’t do it– I had to literally copy and paste all the code within the function of “get sidebar” into the main code for it to work. Every time I tried to simply say “get sidebar” it would give me an error.
Forum: Themes and Templates
In reply to: [Yoko] Yoko Theme: Sidebar, extra columnThe one thing that was most difficult was getting the divs to lay next to each other, as opposed to on top of each other– as soon as I was able to get it to sit right in one browser, it threw another one off. So I had to settle for sizing the divs.
Forum: Themes and Templates
In reply to: [Yoko] Yoko Theme: Sidebar, extra columnAnd the CSS…
/* Theme Name: Yoko Theme URI: https://www.elmastudio.de/wordpress-themes/yoko/ Description: Yoko is a modern three-column blog theme. A responsive layout optimizes the theme for mobile devices like tablet pcs and modern smartphones (the layout switches to a two- or one-column layout depending on the screen size the theme is viewed on). To make your blog post more flexible you can use different kinds of post formats such as gallery, image, video, aside, link or quotes. To customize the theme you can choose your own background, link color, logo and header image. Yoko also comes with a custom social links widget and shortcodes for text columns, info boxes and highlighted text. Author: Elmastudio Author URI: https://www.elmastudio.de/wordpress-themes/ Version: 1.0.5 Tags: light, three-columns, right-sidebar, flexible-width, custom-colors, custom-header, custom-background, custom-menu, theme-options, threaded-comments, sticky-post, translation-ready License: GNU/GPL Version 2 or later License URI: https://www.gnu.org/licenses/gpl.html */ /* Google Fonts Import --------------------------------------------- */ @import url(https://fonts.googleapis.com/css?family=Droid+Sans:regular,bold|Droid+Serif:regular,italic,bold,bolditalic&subset=latin); /* Reset --------------------------------------------- */ /* https://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, a, img, strong, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; } #content address { padding: 0 0 20px 0; } #content abbr, acronym { border-bottom: .1em dotted; } #content pre, code, tt { font-size: 1.1em; } /* HTML5 display-role reset for older browsers */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } ol, ul { list-style: none; } blockquote:before, blockquote:after { content: ''; content: none; } table { border-collapse: collapse; border-spacing: 0; border: 0px; } /* General Structure and Styles --------------------------------------------- */ body { background-color:#ececec; font-family:'Droid Sans', arial, sans-serif; color: #000000; } #page { max-width: 1100px; min-width: 1000px; margin: 12px auto; padding:0 30px 30px; background-color:#fff; z-index: 0; } #wrap { width: 1100px; margin:4px 0 0; padding:40px 0; overflow: hidden; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; } #main { width: 1090px; float: left; overflow: visible; margin-left: 5px; border: 1px; } #content { width: 610px; float: left; border: 1px; } #contenttwo { width: 810px; float: left; border: 1px; } #secondary { width: 130px; margin-left:1.054%; float: left; margin-right:1.054%; border: 1px; } #tertiary { width: 256px; float: left; overflow: hidden; border: 1px; margin-left:1.054%; margin-right:1.054%; } #colophon { width: 610px; float: left; padding:30px 0 0; overflow: hidden; font-size: 0.8em; border: 1px; } .aligncenter, div.aligncenter { margin-left: auto; margin-right: auto; display: block; } .alignleft { float: left; } .alignright { float: right; } /* Headlines --------------------------------------------- */ #content h1 { margin:26px 0 12px; font: bold 1.4em/1.4 'Droid Sans', arial, sans-serif; } #content h2 { margin:26px 0 12px; font: bold 1.3em/1.4 'Droid Sans', arial, sans-serif; } #content h3 { margin: 26px 0 12px; font: bold 1.2em/ 1.4 'Droid Sans', arial, sans-serif; } #content h4 { margin: 22px 0 12px; font: bold 1.1em/1.4 'Droid Sans', arial, sans-serif; } #content h5 { margin: 22px 0 10px; font: bold 1em/1.3 'Droid Sans', arial, sans-serif; } #content h6 { margin: 20px 0 10px; font: bold .9em/1.3 'Droid Sans', arial, sans-serif; } #contenttwo h1 { margin:26px 0 12px; font: bold 1.4em/1.4 'Droid Sans', arial, sans-serif; } #contenttwo h2 { margin:26px 0 12px; font: bold 1.3em/1.4 'Droid Sans', arial, sans-serif; } #contenttwo h3 { margin: 26px 0 12px; font: bold 1.2em/ 1.4 'Droid Sans', arial, sans-serif; } #contenttwo h4 { margin: 22px 0 12px; font: bold 1.1em/1.4 'Droid Sans', arial, sans-serif; } #contenttwo h5 { margin: 22px 0 10px; font: bold 1em/1.3 'Droid Sans', arial, sans-serif; } #contenttwo h6 { margin: 20px 0 10px; font: bold .9em/1.3 'Droid Sans', arial, sans-serif; } /* Links --------------------------------------------- */ a { color: #009BC2; text-decoration: none; } a:hover { color: #777!important; text-decoration: underline; } /* Lists --------------------------------------------- */ #content .post ul, #content .page ul, .commentlist ul { padding:7px 0 7px 30px; line-height: 1.3; } #content .post ul li, #content .page ul li, .commentlist ul li { padding:0 0 12px; list-style: square; } #content .post ol, #content .page ol, .commentlist ol { padding:7px 0 7px 30px !important; line-height: 1.3; } #content .post ol li, #content .page ol li, .commentlist ol li { padding:0 0 12px; list-style: decimal; } #content .post ol ol li, #content .page ol ol li, .commentlist ol ol li { list-style: upper-alpha; } #content .post ol ol ol li, #content .page ol ol ol li, .commentlist ol ol ol li { list-style: lower-roman; } #content dl { margin:0 ; padding: 0; } #content dt { font-weight: bold; margin: 0; padding: 10px 5px 5px; } #content dd { margin: 0; padding: 0 0 10px 15px; } /* Header --------------------------------------------- */ #site-title { padding: 21px 0 15px; } #site-title h1 { margin: 0 10px 0 0; font-size: 2.1em; line-height:1.2; font-weight: bold; text-transform:uppercase; display: block; float: left; } #site-title h1 a:hover { text-decoration:none; } #site-title h2 { font:italic .9em 'Droid Serif', Times, serif; color: #777; margin: 17px 0 0 0; } header#branding img.headerimage { width: 100%; height: auto; margin-top: 12px; } header#branding img.attachment-headerimage.wp-post-image { width: 100%; height: auto; } hgroup#site-title img { max-width: 100%; } /* Navigations --------------------------------------------- */ /* --- Main Nav --- */ #branding #mainnav { margin: 30px 0 0; max-width: 80%; float:right; } #branding #mainnav ul li { float: left; list-style: none; position: relative; } #branding #mainnav ul li a { margin:0; padding:9px 14px; background::#28262A; display: block; font-size: 1.25em; text-transform: uppercase; border: 0.1em solid #f9f9f9; } #branding #mainnav ul li:first-child { margin: 0px; } #branding #mainnav ul li a:hover { background:#F0F0F0; color: #999; text-decoration: none; } #branding #mainnav ul ul { display: none; float: left; position: absolute; top: 2em; left: 0; z-index: 99999; } #branding #mainnav ul ul ul { left: 100%; top: 0; } #branding #mainnav ul ul a { background: #F9F9F9; padding: 9px 14px; width: 11em; height: auto; text-transform: none; } #branding #mainnav li:hover > a, #branding #mainnav ul ul :hover > a { background: #F0F0F0; } #branding #mainnav ul ul a:hover { background: #F0F0F0; } #branding #mainnav ul li:hover > ul { display: block; } /* --- Sub Nav --- */ nav#subnav { border:none; border:0px; margin:0px; padding:0px; font: 67.5% "Lucida Sans Unicode", "Bitstream Vera Sans", "Trebuchet Unicode MS", "Lucida Grande", Verdana, Helvetica, sans-serif; font-size:14px; font-weight:bold; } nav#subnav ul{ background:#333333; height:35px; list-style:none; margin:0; padding:0; } nav#subnav li{ float:left; padding:0px; } nav#subnav li a{ background:#333333 url("https://hawaiitravelsolutions.com/wp-content/uploads/2011/11/seperator.gif") bottom right no-repeat; color:#ffffff; display:block; font-weight:normal; line-height:35px; margin:0px; padding:0px 25px; text-align:center; text-decoration:none; } nav#subnav li a:hover, nav#subnav ul li:hover a{ background: #2580a2 url("https://hawaiitravelsolutions.com/wp-content/uploads/2011/11/hover.gif") bottom center no-repeat; color:#FFFFFF; text-decoration:none; } nav#subnav li ul{ background:#333333; display:none; height:auto; padding:0px; margin:0px; border:0px; position:absolute; width:225px; z-index:200; /*top:1em; /*left:0;*/ } nav#subnav li:hover ul{ display:block; } nav#subnav li li { background:url('https://hawaiitravelsolutions.com/wp-content/uploads/2011/11/sub_sep.gif') bottom left no-repeat; display:block; float:none; margin:0px; padding:0px; width:225px; } nav#subnav li:hover li a{ background:none; } nav#subnav li ul a{ display:block; height:35px; font-size:12px; font-style:normal; margin:0px; padding:0px 10px 0px 15px; text-align:left; } nav#subnav li ul a:hover, nav#subnav li ul li:hover a{ background:#2580a2 url("https://hawaiitravelsolutions.com/wp-content/uploads/2011/11/hover_sub.gif") center left no-repeat; border:0px; color:#ffffff; text-decoration:none; } nav#subnav p{ clear:left; } /* Posts --------------------------------------------- */ #content .post { margin: 0 0 40px; padding: 0 0 40px; overflow: hidden; border-bottom: 1px solid #ddd; clear: both; font-size: .95em; line-height: 1.6; } #content .entry-header h2.entry-title { margin: 0 0 12px; font: bold 1.3em/1.4 'Droid Sans', arial, sans-serif; } #content .entry-header h2.entry-title a:hover { color: #000000; text-decoration: none; } #content .post p { padding: 0 0 20px; } #content .entry-details { width: 22.507%; padding: 2px 18px 0 0; float: left; font: italic .8em/1.6 'Droid Serif', Times, serif; } #content .entry-details p span.entry-date, #content .entry-details p a { width: 100%; font-family: 'Droid Sans', arial, sans-serif; font-style: normal; } #content .entry-content { width: 74.5%; margin: 0; float: right; } #content .post img.wp-post-image { width: 140px; height: auto; margin: 5px 0 8px; padding: 0; } #content .entry-meta p { padding: 15px 0 0; font: italic .8em/1.5 'Droid Serif', Times, serif; } #content .entry-meta a { padding: 15px 0 0; font-family: 'Droid Sans', arial, sans-serif; font-style: normal; } .page-link { background-color: #f0f0f0; border-top: 1px solid #ddd; padding: 5px 20px; overflow: hidden; font-size: .9em; } .page-link a { font-weight: bold; margin: 0 1px; } .page-link a:hover { text-decoration: none; } /* --- Sticky Post --- */ #content .sticky { border-top: 1px solid #ddd; background-color: #F0F0F0; padding: 15px 10px; overflow: hidden; } /* --- Post Typography --- */ #content strong { font-weight: bold; } #content p em { font-family:'Droid Serif', Times, serif; font-style: italic; } #content em { font-family:'Droid Serif', Times, serif; font-style: italic; font-size: .9em; } #content p small { font-size: .8em; } #content .post blockquote, #content .page blockquote { margin: 0 20px 10px 0; overflow: hidden; font: italic 1.1em/1.6 'Droid Serif', Times, serif; } #content .single-entry-content blockquote { margin: 20px 20px 10px 20px; background: none; } #content blockquote cite { margin: 10px 0 0 0; padding: 0 25px 15px 0; float: right; font: normal .8em 'Droid Sans', arial, sans-serif; text-transform: uppercase; letter-spacing: .1em; } #content pre { background-color: #f0f0f0; font-family: monospace; font-size: 1.2em; line-height: 1.3; margin: 0 0 20px 0; padding: 10px; } #content p.nocomments { font-size: .8em; text-transform: uppercase; letter-spacing: 0.1em; } /* --- Post Images and Video --- */ #content img { max-width:100%; height: auto; margin: 0; padding: 0; } #content img.aligncenter { margin: 20px auto; } #content img.alignleft ,#content .wp-caption.alignleft { margin: 10px 20px 0 0; } #content img.alignright,#content .wp-caption.alignright { margin: 10px 0 0 20px; } #content img.alignnone { margin: 20px 0; } #content .wp-caption.alignnone { margin: 0 0 20px 0; } #content .wp-caption.aligncenter{ margin-bottom: 10px; } #content .post .wp-caption { max-width: 100%; text-align: center; } #content .single-entry-content .wp-caption { max-width: 100%; text-align: center; } #content .post p.wp-caption-text { font: normal .8em/1.4 'Droid Sans', arial, sans-serif; margin: 0; padding: 7px 0 10px 0; color: #999; } #content object, #content embed, #content iframe { max-width: 100%; margin: 3px 0 10px; display: block; } /* --- Post Columns Shortcodes --- */ .two-columns-one{ width:48%; } .three-columns-one{ width:30.66%; } .three-columns-two{ width:65.33%; } .four-columns-one { width: 22%; } .four-columns-two { width:48%; } .four-columns-three { width:74%; } .two-columns-one,.three-columns-one,.three-columns-two, .four-columns-one, .four-columns-two, .four-columns-three { float:left; margin-right:4%; position:relative; } .last{ clear:right; margin-right:0 !important; } .divider { clear:both; display:block; margin-bottom:20px; width:100%; } #content span.highlight { padding: 2px; background-color: #FFFBCC; } .yellow-box { margin: 10px 0; background: #FFFBCC; border: 1px solid #E6DB55; padding: 20px; overflow:hidden; } .red-box { margin: 10px 0; background: #FFD9C8; border: 1px solid #F37C72; padding: 20px; overflow:hidden; } .green-box { margin: 10px 0; background: #D5FFCA; border: 1px solid #BDDC7F; padding: 20px; overflow:hidden; } /* --- Post Tables --- */ #content table { margin:10px 0px 30px 0px; } #content table thead { border-top:0px solid #ddd; } #content table tr { border-bottom:0px solid #ddd; } #content table tr th { padding: 10px 20px 10px 20px; border-top:0px solid #ddd; border-left:0px solid #ddd; border-right:0px solid #ddd; } #content table tr td { padding: 10px 20px 10px 20px; border-left:0px solid #ddd; border-right:0px solid #ddd; } /* Single Posts --------------------------------------------- */ #content .post .single-entry-header { margin: 0; } #content .single-entry-header h1.entry-title { margin: 0 0 5px; font: bold 1.3em/1.4 'Droid Sans', arial, sans-serif; color: #000000; } #content .single-entry-header p { padding: 0 0 5px; font-size: .8em; } #content .single-entry-header p span.entry-date, #content .single-entry-header p span.entry-author { font: italic 1em/1.5 'Droid Serif', Times, serif; } #content .single-entry-details { width: 22.507%; padding: 0 18px 0 0; float: left; } #content .single-entry-content { width: 100%; margin: 15px 0 0; padding: 0; float: left; } #content .post .single-entry-meta p { padding: 15px 0 0; font: italic .8em/1.5 'Droid Serif', Times, serif; } #content .post .single-entry-meta p a { font-family:'Droid Sans', arial, sans-serif; font-style: normal; } #content .post .author-info { margin: 40px 0 0; padding: 15px 20px 15px; background: #F0F0F0; overflow: hidden; border-top: 1px solid #ddd; } #content .post .author-info h3 { margin: 0 0 4px; font: bold .9em/1.5 'Droid Sans', arial, sans-serif; } #content .post .author-info .avatar { max-width: 100%; width: 70px; margin: 0 15px 0 0; float: left; } #content .post .author-description { overflow: hidden; } #content .post .author-description p { padding: 0; font-size: .9em; line-height: 1.5; } #content .post .author-description a:hover { text-decoration: underline; } /* --- Post Nav Below --- */ #content #image-nav { margin: 30px 0 3px 0; overflow: hidden; } #comment-nav-below { margin:40px 0; overflow: hidden; } #content #nav-below .nav-previous a, #content #image-nav span.previous-image a, #comment-nav-below .nav-previous a { width: 600px; display: block; float: left; font-size: .9em; font-weight: bold; } #content #nav-below .nav-next a, #content #image-nav span.next-image a, #comment-nav-below .nav-next a { display: block; float: right; font-size: .9em; font-weight: bold; } #content #nav-below .nav-previous a:hover, #content #nav-below .nav-next a:hover, #content #image-nav span.previous-image a:hover, #content #image-nav span.next-image a:hover { text-decoration: none; } /* --- Comments --- */ #comments { font-size: .9em; padding: 0 0 30px 0; } #comments h3#comments-title { padding:30px 0 10px; font-size: 1.1em; font-weight: bold; text-transform: uppercase; letter-spacing: .2em; } #comments p.write-comment-link { padding:0 0 20px; } #comments .comment-body p { padding:0 0 10px; } #comments p.moderation { font-family:'Droid Serif', Times, serif; font-style:italic; } #content #comments ol { padding:0; } #content #comments ol li ul.children { padding:0; } #content #comments ol li.depth-1 { padding:0; border-bottom:1px solid #ddd; overflow:hidden; } #content #comments ol li.depth-2, #content #comments ol li.depth-3, #content #comments ol li.depth-4, #content #comments ol li.depth-5 { margin:0 0 0 35px; padding:0; border-top:1px solid #ddd; border-bottom:none; overflow:hidden; } .comment-meta { padding:0 0 12px; font-size: .8em; } .comment-meta cite.fn { font-size: 1.3em; font-weight: bold; font-style: normal; } #comments .comment-body { padding:20px 0px; overflow:hidden; line-height: 1.5; } .reply { margin:0; float:left; } a.comment-reply-link { font-size:.9em; } #comments ol li.post.pingback { margin:0; padding: 20px 0 0; list-style:none; font-weight: bold; } #comments ol li.post.pingback a { font-weight: normal; } #comments ol li img.avatar { max-width: 100%; width: 65px; height: 65px; margin:22px 15px 0 0; float:left; } #comments .bypostauthor { } /* --- Comment Reply --- */ #content #comments #respond { margin:30px 0 0; padding:20px; background-color: #F0F0F0; } a#cancel-comment-reply-link { padding:3px 0 0; float:right; font-size: .8em; font-weight: normal; } #content #comments #respond h3#reply-title { margin:0 0 3px 0; font-size: 1.2em; } form#commentform p.comment-notes, p.logged-in-as { padding:0 0 15px 0; font-size: .8em; } form#commentform span.required { color: #E75428; } form#commentform p.comment-form-author, form#commentform p.comment-form-email, form#commentform p.comment-form-url, form#commentform p.comment-form-comment { padding:15px 0 0; } input#submit, input.wpcf7-submit { margin: 10px 0 0; padding: 8px 10px 7px; display: inline-block; vertical-align: baseline; outline: none; background-color: #777; border: none; font-size: .75em; color: #fff; text-align: center; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; } input#submit:hover, input.wpcf7-submit:hover { background-color: #009BC2; color: #fff; } form#commentform input#author, form#commentform input#email, form#commentform input#url { width: 60%; margin: 5px 0 0; padding: 9px 5px 9px; display: block; background-color:#fff; border: 1px solid #ddd; font-size:1em; } form#commentform textarea#comment { width:95%; margin: 5px 0 0; padding: 9px 5px; background-color:#fff; border: 1px solid #ddd; font: 1em 'Droid Sans', arial, sans-serif; } form#commentform p.subscribe-to-doi-comments { padding: 20px 0 0; font-size: .8em; color: #666; letter-spacing: 1px; } /* Post Formats --------------------------------------------- */ #content .entry-link, #content .entry-gallery, #content .entry-video { width: 100%; margin: 0; float: left; } /* --- Link Post Format --- */ #content .entry-link a { font-size: 1.1em; color: #009BC2; font-weight: bold; } #content .entry-link .entry-meta a { font-size: 1em; font-weight: normal; } /* --- Image Post Format --- */ #content .entry-header h2.entry-title-image { margin-top: 0; font-size: 1.1em; } /* --- Video, Image and Gallery Post Format --- */ #content .entry-post-format .entry-header h2.entry-title { margin: 0 0 5px; } #content .entry-post-format .entry-header p { font: italic .8em/1.5 'Droid Serif', Times, serif; } #content .entry-post-format .entry-header p a { font-family: 'Droid Sans', arial, sans-serif; font-style: normal; } #content .entry-post-format .entry-content-gallery { width: 54%; float: left; } #content .entry-post-format .gallery-thumb { width: 42.258%; float: left; margin: 5px 15px 0 0; } #content .post img.attachment-medium { max-width: 100%; height: auto; padding: 0; } /* WordPress Image Gallery --------------------------------------------- */ #content .gallery { margin: auto; padding:0; clear: both; } #content .gallery-item { width:19%; float: left; margin-top: 10px; margin-right: 3px; text-align: center; vertical-align: top; overflow: hidden; } #content .gallery-icon { width: 100%; } #content .gallery-caption { margin-left: 0; padding: 0; font-size: .8em; line-height: 1.25; color: #999; display: block; } /* Pages --------------------------------------------- */ #content .page { margin: 0 0 40px; padding: 0 0 30px; overflow: hidden; clear: both; font-size: .95em; line-height: 1.6; border-bottom: 1px solid #ddd; } #content .page-entry-header { margin: 0; } #content .page-entry-header h1.entry-title { margin: 0; font: bold 1.5em/1.5 'Droid Sans', arial, sans-serif; color: #000000; } #content .page p { padding: 0 0 20px 0; } /* --- Fullwidth Page --- */ #content.full-width { width:100% !important; } #content.full-width .page { margin: 0; padding: 0 0 20px; border-bottom: none; } /* --- Archive, 404, Search Results --- */ #content .page-header h1.page-title { padding: 0 0 15px 0; font-size: .8em; color: #000000; font-weight: bold; text-transform: uppercase; letter-spacing: .1em; } /* --- Contact Page --- */ #content .wpcf7 { overflow: hidden; margin: 0; padding:20px; background: #F0F0F0; } #content .wpcf7 h3#form-title { margin:0 0 3px 0; font-size: 1.2em; } #content .wpcf7 p.form-info { padding:0 0 15px 0; font-size: .8em; } #content .wpcf7 p span.required { color: #E75428; } #content .wpcf7 input.wpcf7-text { width: 60%; margin: 5px 0 15px; padding: 9px 5px; background-color:#fff; border: 1px solid #ddd; font-size:1em; } #content .wpcf7 textarea { width:95%; margin: 5px 0 0; padding: 9px 5px; font: 1em 'Droid Sans', arial, sans-serif; background-color:#fff; border: 1px solid #ddd; } #content .wpcf7-form p { padding:0; } /* Sidebars --------------------------------------------- */ aside.widget { margin: 0 0 30px 0; padding: 0 0 30px 0; font-size: .8em; border-bottom: 1px solid #ddd; } aside.widget ul li { padding: 0 0 7px 0; line-height: 1.4em; } aside.widget ul li:last-child { padding: 0; } .widget h3.widget-title, .widget_get_recent_comments h1.widget-title { padding: 0 0 15px 0; color: #000000; font-weight: bold; text-transform: uppercase; letter-spacing: .1em; } .textwidget { line-height: 1.6; } /* --- Standard Widgets --- */ .widget_categories ul li ul.children, .widget_nav_menu ul li ul.sub-menu, .widget_pages ul li ul.children { margin: 5px 0 0 0; } .widget_categories ul li ul.children li, .widget_nav_menu ul li ul.sub-menu li, .widget_pages ul li ul.children li { margin: 0 0 0 20px; } .widget_recent_entries ul, .widget_recent_comments ul { padding: 0 0 0 15px; } .widget_recent_entries ul li, .widget_recent_comments ul li { list-style: square; } .widget_calendar #wp-calendar caption { font-family:'Droid Serif', Times, serif; font-style: italic; text-align: left; padding: 0 0 5px 0; } .widget_calendar table#wp-calendar th, .widget_calendar table#wp-calendar td { padding: 0 6px 6px 0; } .widget_calendar table#wp-calendar tbody tr td#today { font-weight: bold; } /* --- Search Widget --- */ .widget_search { overflow: hidden; } .searchform { width: 100%; margin: 0; padding: 0; float: left; overflow: hidden; } #secondary .searchform .search-input { width: 90%; margin: 0 0 5px 0; } #tertiary .searchform .search-input { width: 62%; margin: 0 2px 5px 0; } .searchform .search-input { width: 40%; margin: 0 2px 5px 0; padding: 6px 5px; background-color:#F0F0F0; border: 1px solid #ddd; } .searchform .search-input:hover, #searchform .search-input:focus, #searchform .search-input:active { background-color:#fff; } .searchsubmit { margin: 0; padding: 8px 10px 7px; display: inline-block; vertical-align: baseline; outline: none; background-color: #777; border: none; font-size: 11px; color: #fff; text-align: center; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; } .searchsubmit:hover { color: #fff; background-color: #009BC2; } /* --- Social Links Custom Widget --- */ .widget_sociallinks a { padding:0 20px; } .widget_sociallinks a.rss { background:url(images/rss-icon.png) 0 0 no-repeat; } .widget_sociallinks a.twitter { background:url(images/twitter-icon.png) 0 0 no-repeat; } .widget_sociallinks a.facebook { background:url(images/fb-icon.png) 0 0 no-repeat; } .widget_sociallinks a.flickr { background:url(images/flickr-icon.png) 0 0 no-repeat; } .widget_sociallinks a.vimeo { background:url(images/vimeo-icon.png) 0 0 no-repeat; } .widget_sociallinks a.linkedin { background:url(images/linkedin-icon.png) 0 0 no-repeat; } .widget_sociallinks a.delicious { background:url(images/delicious-icon.png) 0 0 no-repeat; } .widget_sociallinks a.googleplus { background:url(images/googleplus-icon.png) 0 0 no-repeat; } /* --- Recent Comments Widget --- */ .widget_get_recent_comments li.sidebar-comment { margin:10px 0; overflow:hidden; } .widget_get_recent_comments li.sidebar-comment:first-child { margin:3px 0 10px; } .widget_get_recent_comments li.sidebar-comment .comment-content { padding:0 0 0 6px; overflow:hidden; } .widget_get_recent_comments li.sidebar-comment p { line-height: 1.4; } .widget_get_recent_comments .kjgrcGravatar { margin:0; float:left; display:block; } .widget_get_recent_comments span.sidebar-comment-autor a { padding: 0 0 3px; } /* --- Flickr Fotostream Widget --- */ #flickr_badge_wrapper { margin:3px 0 0; } .flickr_badge_image { max-width:80px; height:60px; margin:0 6px 6px 0; float:left; } .flickr_badge_image img { width:80px; height:60px; } /* Footer --------------------------------------------- */ #colophon p { line-height: 1.5; } a.top { margin: 3px 0 0 0; font-weight: normal; display: block; font-size:8px; } a.top:hover { text-decoration: none; } /* Clearing Floats --------------------------------------------- */ .clear { clear:both; display:block; overflow:hidden; visibility:hidden; width:0; height:0; } .clearfix:after { clear:both; content:' '; display:block; font-size:0; line-height:0; visibility:hidden; width:0; height:0 }
Forum: Themes and Templates
In reply to: [Yoko] Yoko Theme: Sidebar, extra columnIt is dreadful– lol
But basically what I had to do to get it to sit right in ALL browsers, was the specify the size and layout of the divs– so the site doesn’t move relatively with window size and the divs do indeed overlap, but the client was okay with that (they weren’t so concerned about the site going mobile, as they were about being able to see the whole thing on any screen). I can send you the files if you want to look at them.
Something I found odd as well, was that I could call a function within the PHP without causing an odd error in the script. I had to actually pull the pieces of code out, and call them directly.
Here’s the code for a single page:
<?php /** * @package WordPress * @subpackage Yoko */ get_header(); ?> <div id="wrap"> <div id="main"> <div id="secondary" class="widget-area" role="complementary"> <?php if ( ! dynamic_sidebar( 'sidebar-1' ) ) : ?> <?php endif; // end sidebar 1 widget area ?> </div><!-- #secondary .widget-area --> <div id="content"> <?php the_post(); ?> <?php get_template_part( 'content', 'page' ); ?> <?php comments_template( '', true ); ?> </div><!-- end content --> <div id="tertiary" class="widget-area" role="complementary"> <?php if ( ! dynamic_sidebar( 'sidebar-2' ) ) : ?> <?php endif; // end sidebar 2 widget area ?> </div><!-- end tertiary .widget-area --> <?php get_footer(); ?>
Forum: Themes and Templates
In reply to: [Yoko] Yoko Theme: Sidebar, extra columnI was making some updates when you looked at it– that’s probably why it was unresponsive. I edited the CSS & the PHP — it wasn’t the ideal way to do it, but it worked. Working only with the PHP doesn’t work. I tried it a million times.
Forum: Fixing WordPress
In reply to: Featured image module gone when Cartpress plugin is activeWith some more digging.. found this answer: (in case anyone else comes across a similar problem)
Sensei said 1 week, 5 days ago:
Change this line in TheCartPress.class.php line 1033:
if ( function_exists( ‘add_theme_support’ ) ) add_theme_support( ‘post-thumbnails’, tcp_get_saleable_post_types() );for
if ( function_exists( ‘add_theme_support’ ) ) add_theme_support( ‘post-thumbnails’ );
Sure… don’t forget to hit “resolved”
Go to Pages then select all then go to the top where it says “Bulk Actions” then click “edit” then apply go to “Comments” change it to “none” and then apply or save changes! Good to go!
Forum: Themes and Templates
In reply to: Hide title on single static pageLet us know!
Forum: Themes and Templates
In reply to: Follow us/Social media buttonsYour RSS feed is usually https://example.com/?feed=rss and share can be whatever you want it to be!
Forum: Themes and Templates
In reply to: How can I get this?! Please help!Sure! And on the shortcodes– it’s not a short code for every product, but rather a short code for your categories of products.. Look at this page (not done) https://www.pdvstore.com Granted– it’s in Spanish and all but you can see some of the products they’re building for their bookstore.
Top row is the latest stuff and that’s 1 shortcode which references the latest products
Next segment with 5 boxes is another shortcode which references books only. You can choose your categories in the CartPress. Once you’ve generated the short codes you just post them into your page. Should be easy. If you want more help send me a message on Facebook. facebook.com/yelhca07
Forum: Themes and Templates
In reply to: Hide title on single static pageWell — depends on how permalinks are structured– and I edited the permalink to be custom on that page. To add back into the nav just drag in the page with the blank page name and click the little arrow to rename the Label associated with it.
Forum: Themes and Templates
In reply to: Follow us/Social media buttonsGo to the Editor, then click Header.php… scroll down to where you see
<li><a class="s1" href="#" title="RSS"><em>RSS Feed</em></a></li> <li><a class="s2" href="#" title="Twitter"><em>Twitter</em></a></li> <li><a class="s3" href="#" title="FaceBook"><em>FaceBook</em></a></li> <li><a class="s4" href="#" title="Share"><em>Share</em></a></li>
Replace # signs with the COMPLETE web address for your links. Hit update. Good to go.
Forum: Themes and Templates
In reply to: Hide title on single static pageI have an easy fix for this, that might not be great, but it works. I didn’t want my homepage to have the “home” header but I wanted to keep it in the navigation. So I saved my page without a name. Then I added it to the navigation and simply renamed the label to home. Works!