Ver Mensaje Individual
  #23 (permalink)  
Antiguo 17/11/2016, 15:08
GardBeat
 
Fecha de Ingreso: diciembre-2003
Ubicación: Universidad de la Vida
Mensajes: 136
Antigüedad: 20 años, 11 meses
Puntos: 1
Respuesta: Mover Barra Lateral

Cita:
Iniciado por zanguanga Ver Mensaje
Por favor copia y pega aquí el código de lo que has hecho en style.css (usa el botón highlight para que se vea bien).
Adjunto css solicitado, quedo a la espera..

Código CSS:
Ver original
  1. /*
  2. Theme Name: _tk
  3. Theme URI: http://themekraft.com/store/_tk-free-wordpress-starter-theme-based-on-twitter-bootstrap/
  4. Author: ThemeKraft
  5. Author URI: http://themekraft.com/
  6. Description: Hi, I am the ultra minimal starter theme _tk, ready for your next awesome WordPress project! I am the most seamless and minimalistic integration of Twitter Bootstrap Framework into the _s starter theme from Automattic, the guys behind WordPress. You can find me on GitHub. Fork me! I'm waiting for you ;)
  7. Version: 1.1.10
  8. License: GNU General Public License v3.0 /
  9. License URI: http://www.gnu.org/licenses/gpl-3.0.html
  10. Tags: gray, light, two-columns, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-images, flexible-header, sticky-post,  theme-options, threaded-comments, translation-ready
  11.  
  12. This theme, like WordPress, is licensed under the GPL.
  13. Use it to make something cool, have fun, and share what you've learned with others.
  14.  
  15. This theme is the most seamless and minimalistic integration of Twitter Bootstrap Framework into
  16. the _s starter theme from Automattic, the guys behind WordPress.
  17.  
  18. _s (or Underscores) http://underscores.me/, (C) 2012-2013 Automattic, Inc. Twitter Bootstrap
  19.  
  20. Credits:
  21.  
  22. 1. Bootstrap
  23.  
  24.  * Bootstrap v3.3.6 (http://getbootstrap.com)
  25.  * Copyright 2011-2015 Twitter, Inc.
  26.  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
  27.  
  28.  * Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=f58353a31151a8c05d7c)
  29.  * Config saved to config.json and https://gist.github.com/f58353a31151a8c05d7c
  30.  
  31. 2. wp_bootstrap_navwalker
  32.  
  33. * Class Name: wp_bootstrap_navwalker
  34. * GitHub URI: https://github.com/twittem/wp-bootstrap-navwalker
  35.  
  36. 3. Glyphicons
  37.  
  38.  * http://getbootstrap.com/components/
  39.  
  40. */
  41.  
  42. /* My Minimal WordPress Styling comes here */
  43.  
  44. /* This is a small security for too long strings titles */
  45. body {
  46.     word-wrap: break-word;
  47. }
  48.  
  49. /* Alignment */
  50. .alignleft {
  51.     display: inline;
  52.     float: left;
  53.     margin-right: 1.5em;
  54. }
  55. .alignright {
  56.     display: inline;
  57.     float: right;
  58.     margin-left: 1.5em;
  59. }
  60. .aligncenter {
  61.     clear: both;
  62.     display: block;
  63.     margin: 0 auto;
  64. }
  65.  
  66.  
  67. /* Images and wp-captions should always fit and be responsive */
  68. img {
  69.     display: inline-block;
  70.     height: auto;
  71.     max-width: 100%;
  72. }
  73. img[class*="wp-image-"] {
  74.     margin-top: 10px;
  75.     margin-bottom: 10px;
  76. }
  77. .wp-caption {
  78.     border: 1px solid #ccc;
  79.     margin-bottom: 10px;
  80.     max-width: 100%;
  81.     border-radius: 4px;
  82.     padding: 0 10px;
  83. }
  84. .wp-caption.aligncenter {
  85.     margin-bottom: 10px;
  86. }
  87. .wp-caption img[class*="wp-image-"] {
  88.     display: block;
  89. }
  90. .wp-caption .wp-caption-text {
  91.     text-align: center;
  92.     margin-top: 10px;
  93. }
  94.  
  95. /* WP Gallery */
  96. .gallery {
  97.     margin-bottom: 1.5em;
  98. }
  99. .gallery a img {
  100.     border: none;
  101.     height: auto;
  102.     max-width: 90%;
  103. }
  104. .gallery dd {
  105.     margin: 0;
  106. }
  107. .gallery-caption {
  108.     display: block;
  109. }
  110.  
  111. /* Make sure embeds and iframes fit their containers */
  112. embed,
  113. iframe,
  114. object {
  115.     max-width: 100%;
  116. }
  117.  
  118.  
  119. /* Text meant only for screen readers */
  120. .screen-reader-text {
  121.     clip: rect(1px, 1px, 1px, 1px);
  122.     position: absolute !important;
  123. }
  124. .screen-reader-text:hover,
  125. .screen-reader-text:active,
  126. .screen-reader-text:focus {
  127.     background-color: #f1f1f1;
  128.     border-radius: 3px;
  129.     box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  130.     clip: auto !important;
  131.     color: #21759b;
  132.     display: block;
  133.     font-size: 14px;
  134.     font-weight: bold;
  135.     height: auto;
  136.     left: 5px;
  137.     line-height: normal;
  138.     padding: 15px 23px 14px;
  139.     text-decoration: none;
  140.     top: 5px;
  141.     width: auto;
  142.     z-index: 100000; /* Above WP toolbar */
  143. }
  144.  
  145.  
  146. /* Content */
  147. .main-content-inner {
  148.     padding-bottom: 1.5em;
  149. }
  150. .hentry {
  151.     margin: 0 0 1.5em;
  152. }
  153. .sticky {
  154.     display: block;
  155. }
  156. .bypostauthor {
  157.     display: block;
  158. }
  159.  
  160.  
  161. /* Clearing */
  162. .clear {
  163.     clear: both;
  164. }
  165.  
  166. /* Navigation */
  167.  
  168. .dropdown-submenu{position:relative;}
  169. .dropdown-submenu>.dropdown-menu{top:0;left:100%;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;}
  170. .dropdown-submenu:active>.dropdown-menu, .dropdown-submenu:hover>.dropdown-menu {
  171. display: block;
  172. }
  173. .dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#cccccc;margin-top:5px;margin-right:-10px;}
  174. .dropdown-submenu:active>a:after{border-left-color:#ffffff;}
  175. .dropdown-submenu.pull-left{float:none;}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px;}
  176.  
  177.  
  178. /* Here some needed widget styles
  179.  * Most widgets are adapted in the file bootstrap-wp.js - and REALLY easy to modify! ;) */
  180. .widget { margin-bottom: 2em; }
  181. .widget_nav_menu ul.sub-menu li, .widget_pages ul.children li { padding-left: 15px; }
  182.  
  183. /* Hiding the search widget's button in widgets. thats just too old-skool. :) but if you want it back, just delete the next line.
  184.  * Note: you can change the whole appearance of the search_form() function in our searchform.php */
  185. .widget_search .search-form input[type="submit"] { display: none; }
  186.  
  187. /* Make sure select elements fit in widgets */
  188. .widget select {
  189.     max-width: 100%;
  190. }
  191.  
  192. /* Nested comments? They are threaded and nested already, you just need to add your own styling to finalize!
  193.  * For example with some margin, like the line below ;) Delete, modify, change classes in HTML if you desire another style */
  194.  .comment .children { margin-left: 1.5em; }
  195.  
  196. /**
  197. * Some WP Theme Repository requirements
  198. */
  199.  
  200. .sticky {
  201. }
  202.  
  203. .gallery-caption {
  204.  
  205. }
  206.  
  207. .bypostauthor {
  208.  
  209. }
  210.  
  211. .entry-meta {
  212.     clear: both;
  213. }
  214.  
  215. /*
  216.  == Quick CSS styling tips ==
  217.  
  218.  You can start off in a rough direction with some minimal styles.
  219.  See below for some tips. ;)
  220.  
  221.  
  222.  == Want to have the whole site wrapped? ==
  223.  
  224.  Just fill the .container class with some background color to have a the whole site "wrapped".
  225.  This works so easy because every main part is wrapped only once into a container class by bootstrap.
  226.  Try out by decommenting the next line and go from there.
  227.  
  228.  .container { background: #f9f9f9; border-right: 1px solid #eee; border-left: 1px solid #eee; }
  229.  
  230.  
  231.  == Want to wrap just the content and sidebar in Bootstrap style? ==
  232.  
  233.  That one is a great example to show that some things are much cleaner and easier to do via just adding some HTML classes.
  234.  In this case, we will add just one CSS class "panel", look for example at the beginning in content.php!
  235.  
  236.  
  237.  == Infinite Scrolling by Jetpack ==
  238.  You can enable this cool feature by simply decommenting the lines below and make sure you use the same classes on the right place in your html..
  239.  
  240. /* Globally hidden elements when Infinite Scroll is supported and in use.
  241.  * Older / Newer Posts Navigation (the pagination, must always be hidden), Theme Footer only when set to scrolling.. */
  242.  
  243. /*
  244. .infinite-scroll .page-links,
  245. .infinite-scroll.neverending .site-footer {
  246.     display: none;
  247. }
  248. */
  249.  
  250. /* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
  251.  
  252. /*
  253. .infinity-end.neverending .site-footer {
  254.     display: block;
  255. }
  256. */
  257.  
  258. /* Hey, if you don't need my comments anymore, just delete me! :)  */
  259.  
  260.  
  261. /* styles for _tk_pagination und _tk_link_pages */
  262. nav form.tk-page-nav,
  263. nav .input-group,
  264. nav .input-group-btn,
  265. nav .form-control {
  266.     display: inline;
  267. }
__________________
GardBeat