Cambiar tamaño del texto de las entradas con Mandigo Theme.

Inicio Foros WordPress Themes y Diseño Cambiar tamaño del texto de las entradas con Mandigo Theme.

Este debate contiene 1 respuesta, tiene 1 mensaje y lo actualizó  rapalero hace 9 años, 10 meses.

  • Autor
    Publicaciones
  • #11830

    rapalero
    Participante

    <p>Hola.</p>
    <p>No entiendo mucho de código y estoy mirando style.css.php del Theme Mandigo.</p>
    <p>Puedo cambiar varios tamaños de letra, pero lo que no consigo es cambiar SOLAMENTE el tamaño de letra del texto normal (cuando en el editor escribo sin modificar el tamaño, como &quot;párrafo&quot;).</p>
    <p>Os pongo el contenido de dicho archivo para ver si alguien ve la solución.</p>
    <p>Muchas gracias de antemano por vuestra ayuda.</p>
    <p>&lt;?php<br />
    /*</p>
    <p> Hi there,</p>
    <p> If you’re planning on making modifications to this file, you’d rather use the HTML Inserts feature in the<br />
    theme options.</p>
    <p> Doing it this way will keep the theme easily updatable.</p>
    <p> Just wrap your css rules in a &lt;style type=&quot;text/css&quot;&gt;&lt;/style&gt; tag pair, and put them in the first textbox on<br />
    the HTML Inserts page (the &quot;header.php&quot; field).</p>
    <p> */</p>
    <p> error_reporting(0);<br />
    $fb = 0;</p>
    <p> // find the wp configuration file<br />
    $d = 0; // search depth;<br />
    while (!file_exists(str_repeat(‘../’, $d) . ‘wp-config.php’)) if (++$d &gt; 99) exit;<br />
    $wpconfig = str_repeat(‘../’, $d) . ‘wp-config.php’;</p>
    <p> // if this is a wpmu setup or we have been instructed to use the fallback method<br />
    if ($_GET || file_exists(str_repeat(‘../’, $d) . ‘wpmu-settings.php’))<br />
    $fb++;<br />
    elseif (file_exists($wpconfig))<br />
    // evaluate constant definitions from wp-config.php so we can connect directly to the database and save some time<br />
    foreach (explode(&quot;n&quot;, file_get_contents($wpconfig)) as $line) {<br />
    if (preg_match(‘/define.+?DB_|table_prefix/’, $line))<br />
    eval($line);<br />
    }</p>
    <p> // if we seem to have the credentials to the database<br />
    if (defined(‘DB_USER’)) {<br />
    $dbh = @mysql_connect(DB_HOST, DB_USER, DB_PASSWORD);<br />
    @mysql_select_db(DB_NAME, $dbh);<br />
    $r = @mysql_query(<br />
    &quot;SELECT option_name,option_value FROM &quot;. $table_prefix .&quot;options WHERE option_name REGEXP ‘^(mandigo_options|stylesheet|siteurl)$’;&quot;,<br />
    $dbh<br />
    );<br />
    while ($a = @mysql_fetch_row($r)) {<br />
    $$a[0] = $a[1];<br />
    }<br />
    @mysql_free_result($r);</p>
    <p> $mandigo_options = unserialize($mandigo_options);</p>
    <p> // if the options array seems to be empty/incomplete, fallback<br />
    if (!$mandigo_options)<br />
    $fb++;<br />
    $stylesheet_directory = $siteurl .’/wp-content/themes/’. $stylesheet;<br />
    }<br />
    else $fb++;</p>
    <p> // fallback, fewer lines but way longer to process<br />
    if ($fb) {<br />
    // if we’re here without ‘fb’ in the query string, then redirect to this same page and start over<br />
    // this prevents constant redeclaration errors<br />
    if (!$_GET) {<br />
    $redirect = preg_replace(‘/(?.*|$)/’, ”, $_SERVER) . ‘?fb=1’;<br />
    header(&quot;Location: $redirect&quot;);<br />
    exit;<br />
    }<br />
    require_once($wpconfig);<br />
    $mandigo_options = get_option(‘mandigo_options’);<br />
    $stylesheet_directory = get_bloginfo(‘stylesheet_directory’);<br />
    status_header(200);<br />
    }</p>
    <p> // boolean options<br />
    foreach ($mandigo_options as $option =&gt; $value) {<br />
    if ($value == ‘on’) $mandigo_options[$option] = 1;<br />
    if ($value == ‘off’) $mandigo_options[$option] = 0;<br />
    }</p>
    <p> @header(‘Content-type: text/css’);</p>
    <p> $ie = preg_match(&quot;/MSIE [4-6]/&quot;, $_SERVER);<br />
    $ie7 = stristr($_SERVER, ‘MSIE 7’);<br />
    $safari = stristr($_SERVER, ‘Safari’);<br />
    $firefox = stristr($_SERVER, ‘Firefox’);</p>
    <p> $font_families = array(<br />
    ‘serif’ =&gt; array(<br />
    ‘body’ =&gt; &quot;Georgia, ‘Times New Roman’, Serif&quot;,<br />
    ‘header’ =&gt; &quot;Georgia, ‘Times New Roman’, Serif&quot;,<br />
    ‘titles’ =&gt; &quot;Georgia, ‘Times New Roman’, Serif&quot;,<br />
    ‘comments’ =&gt; &quot;Georgia, ‘Times New Roman’, Serif&quot;,<br />
    ‘datestamps’ =&gt; &quot;Georgia, ‘Times New Roman’, Serif&quot;,<br />
    ‘sidebars’ =&gt; &quot;Georgia, ‘Times New Roman’, Serif&quot;,<br />
    ),<br />
    ‘sans-serif’ =&gt; array(<br />
    ‘body’ =&gt; &quot;Arial, Sans-Serif&quot;,<br />
    ‘header’ =&gt; &quot;’Trebuchet MS’, ‘Lucida Grande’, Verdana, Arial, Sans-Serif&quot;,<br />
    ‘titles’ =&gt; &quot;’Trebuchet MS’, ‘Lucida Grande’, Verdana, Arial, Sans-Serif&quot;,<br />
    ‘comments’ =&gt; &quot;’Lucida Grande’, Verdana, Arial, Sans-Serif&quot;,<br />
    ‘datestamps’ =&gt; &quot;’Lucida Grande’, ‘Lucida Sans Unicode’, Arial, Sans-Serif&quot;,<br />
    ‘sidebars’ =&gt; &quot;’Lucida Grande’, Verdana, Arial, Sans-Serif&quot;,<br />
    ),<br />
    );<br />
    ?&gt;</p>
    <p>/* Begin Typography &amp; Colors */<br />
    body {<br />
    font-size: 62.5%; /* Resets 1em to 10px */<br />
    font-family: &lt;?php echo $font_families[$mandigo_options]; ?&gt;;<br />
    color: #333;<br />
    }</p>
    <p>.narrowcolumn .entry, .widecolumn .entry {<br />
    line-height: &lt;?php echo ($mandigo_options == ‘serif’ ? 1.5 : 1.4); ?&gt;em;<br />
    }</p>
    <p>.widecolumn {<br />
    line-height: 1.6em;<br />
    }</p>
    <p>small {<br />
    font-size: 0.9em;<br />
    line-height: 1.5em;<br />
    }</p>
    <p>h1, h2, h3, h4, h5, h6 {<br />
    font-weight: bold;<br />
    }</p>
    <p>h1 { font-size: 1.6em; }<br />
    h2 { font-size: 1.4em; }<br />
    h3 { font-size: 1.2em; }<br />
    h4 { font-size: 1.1em; }<br />
    h5 { font-size: 1.0em; }<br />
    h6 { font-size: 0.9em; }</p>
    <p>.inline-widgets #wp-calendar caption, .blogname, .blogdesc {<br />
    font-family: &lt;?php echo $font_families[$mandigo_options]; ?&gt;;<br />
    font-weight: bold;<br />
    }</p>
    <p>#content {<br />
    font-size: 1.2em;<br />
    }</p>
    <p>.blogname {<br />
    font-size: &lt;?php echo ($mandigo_options ? 3 : 4); ?&gt;em;<br />
    letter-spacing: -.05em;<br />
    margin-top: &lt;?php echo ($mandigo_options ? 25 : 15); ?&gt;px;<br />
    }</p>
    <p>.blogname, .blogname a, blogname a:hover, .blogname a:visited, .blogdesc {<br />
    text-decoration: none;<br />
    color: white;<br />
    }</p>
    <p>.blogname, .blogdesc {<br />
    font-weight: bold;<br />
    position: absolute;<br />
    z-index: 100;<br />
    margin-left: 15px;<br />
    }</p>
    <p>.blogdesc {<br />
    font-size: 1.2em;<br />
    margin-top: 60px;<br />
    }</p>
    <p>.posttitle, #comments, #respond .title, #respond.pre27, #trackbacks {<br />
    font-family: &lt;?php echo $font_families[$mandigo_options]; ?&gt;;<br />
    font-weight: bold;<br />
    font-size: 1.6em;<br />
    }</p>
    <p>#respond .title, #respond.pre27, #trackbacks {<br />
    clear: both;<br />
    }</p>
    <p>.posttitle, .posttitle a, .posttitle a:hover, .posttitle a:visited {<br />
    text-align: left;<br />
    text-decoration: none;<br />
    color: #333;<br />
    }</p>
    <p>.posttitle-archive, .posttitle-search, #comments, #respond .title, #respond.pre27 {<br />
    font-size: 1.5em;<br />
    }</p>
    <p>.pagetitle {<br />
    font-size: 1.6em;<br />
    }</p>
    <p>.widgettitle, .sidebars li.linkcat h2 {<br />
    font-size: 1.2em;<br />
    font-weight: bold;<br />
    }</p>
    <p>.inline-widgets .widgettitle, .inline-widgets #wp-calendar caption {<br />
    font-size: 1.4em;<br />
    }</p>
    <p>.inline-widgets .widgettitle {<br />
    letter-spacing: -.05em;<br />
    }</p>
    <p>.sidebars .widgettitle, #wp-calendar caption, cite {<br />
    text-decoration: none;<br />
    }</p>
    <p>.widgettitle a {<br />
    color: #333;<br />
    }</p>
    <p>.widecolumn .entry p {<br />
    font-size: 1.05em;<br />
    }</p>
    <p>.commentlist li, #commentform input, #commentform textarea {<br />
    font-family: &lt;?php echo $font_families[$mandigo_options]; ?&gt;;<br />
    font-size: 0.9em;<br />
    }</p>
    <p>.commentlist li {<br />
    font-weight: bold;<br />
    }</p>
    <p>.commentlist li li.comment {<br />
    font-size: 1em;<br />
    }</p>
    <p>.commentlist li .avatar {<br />
    float: left;<br />
    margin-right: 5px;<br />
    }</p>
    <p>.commentlist.pre27 li .avatar {<br />
    float: none;<br />
    margin-right: 0;<br />
    padding-left: 41px;<br />
    min-height: 36px;<br />
    background-repeat: no-repeat;<br />
    background-position: top left;<br />
    }</p>
    <p>.commentlist cite, .commentlist cite a {<br />
    font-weight: bold;<br />
    font-style: normal;<br />
    font-size: 1.1em;<br />
    }</p>
    <p>li.comment #respond {<br />
    margin-top: 20px;<br />
    }</p>
    <p>.commentlist p {<br />
    font-weight: normal;<br />
    line-height: 1.5em;<br />
    text-transform: none;<br />
    }</p>
    <p>#commentform p {<br />
    font-family: &lt;?php echo $font_families[$mandigo_options]; ?&gt;;<br />
    }</p>
    <p>.commentmetadata {<br />
    font-weight: normal;<br />
    }</p>
    <p>.sidebars {<br />
    font-family: &lt;?php echo $font_families[$mandigo_options]; ?&gt;;<br />
    font-size: 1em;<br />
    }</p>
    <p>small, .sidebars ul li, .sidebars ol li, .nocomments, .postmetadata, strike {<br />
    color: #777;<br />
    }</p>
    <p>code {<br />
    font: 1em ‘Courier New’, Courier, Fixed;<br />
    }</p>
    <p>blockquote {<br />
    color: #555;<br />
    font-style: italic;<br />
    }</p>
    <p>em {<br />
    &lt;?php<br />
    if ($mandigo_options) {<br />
    ?&gt;<br />
    font-style: normal;<br />
    font-weight: bold;<br />
    &lt;?php<br />
    }<br />
    else {<br />
    ?&gt;<br />
    font-style: italic;<br />
    font-weight: normal;<br />
    &lt;?php<br />
    }<br />
    ?&gt;<br />
    }</p>
    <p>acronym, abbr, span.caps {<br />
    font-size: 0.9em;<br />
    letter-spacing: .07em;<br />
    }</p>
    <p>a {<br />
    text-decoration: none;<br />
    }</p>
    <p>a:hover {<br />
    text-decoration: underline;<br />
    }</p>
    <p>#wp-calendar #prev a, #wp-calendar #next a {<br />
    font-size: 9pt;<br />
    }</p>
    <p>#wp-calendar a {<br />
    text-decoration: none;<br />
    }</p>
    <p>#wp-calendar caption {<br />
    font-size: 1.2em;<br />
    font-weight: bold;<br />
    }</p>
    <p>#wp-calendar th {<br />
    font-style: normal;<br />
    text-transform: capitalize;<br />
    }</p>
    <p>.text-shadow {<br />
    color: #333;<br />
    }</p>
    <p>.text-stroke-tl, .text-stroke-tr, .text-stroke-bl, .text-stroke-br {<br />
    color: #000;<br />
    }</p>
    <p>.narrowcolumn .postmetadata {<br />
    text-align: left;<br />
    }</p>
    <p>.four04 {<br />
    font-weight: bold;<br />
    font-size: 18pt;<br />
    letter-spacing: -.1em;<br />
    text-align: center;<br />
    margin-top: 10px<br />
    }</p>
    <p>.four04-big {<br />
    font-size: 50pt;<br />
    letter-spacing: -.05em;<br />
    line-height: .6em;<br />
    margin-top: .3em;<br />
    }</p>
    <p>.dropcap {<br />
    float: left;<br />
    font-size: 3em;<br />
    color: #666;<br />
    line-height: 0.93em;<br />
    margin-right: 3px;<br />
    }<br />
    /* End Typography &amp; Colors */</p>
    <p>/* Begin Structure */<br />
    * {<br />
    padding: 0;<br />
    margin: 0;<br />
    }</p>
    <p>p { margin: 1em 0; }</p>
    <p>body {<br />
    background-color: &lt;?php echo $mandigo_options; ?&gt;;<br />
    &lt;?php<br />
    if ($mandigo_options) {<br />
    ?&gt;<br />
    background-image: url(&lt;?php echo $stylesheet_directory; ?&gt;/images/patterns/&lt;?php echo $mandigo_options; ?&gt;);<br />
    background-attachment: &lt;?php echo ($mandigo_options ? ‘fixed’ : ‘scroll’); ?&gt;;<br />
    background-repeat: &lt;?php echo ($mandigo_options ? $mandigo_options : ‘repeat’); ?&gt;;<br />
    &lt;?php<br />
    if (isset($mandigo_options)) {<br />
    ?&gt;<br />
    background-position: &lt;?php echo $mandigo_options; ?&gt;;<br />
    &lt;?php<br />
    }<br />
    }<br />
    ?&gt;<br />
    text-align: center;<br />
    margin: 0 0 20px 0;<br />
    }</p>
    <p>#page {<br />
    margin: 20px auto;<br />
    text-align: left;<br />
    width: &lt;?php echo ($mandigo_options-37); ?&gt;px;<br />
    }</p>
    <p>#header {<br />
    background: url(images/header&lt;?php echo ($mandigo_options == 1024 ? ‘-1024’ : ”); ?&gt;.png);<br />
    height: &lt;?php echo (243-($mandigo_options ? 100 : 0)); ?&gt;px;<br />
    width: &lt;?php echo ($mandigo_options-37); ?&gt;px;<br />
    }</p>
    <p>#headerimg {<br />
    position: relative;<br />
    left: 13px;<br />
    top: 11px;<br />
    height: &lt;?php echo (226-($mandigo_options ? 100 : 0)); ?&gt;px;<br />
    width: &lt;?php echo ($mandigo_options-63); ?&gt;px;<br />
    z-index: 100;<br />
    &lt;?php<br />
    if (!isset($_GET)) {<br />
    ?&gt;<br />
    background: url(‘schemes/&lt;?php echo $mandigo_options; ?&gt;/images/head&lt;?php echo ($mandigo_options == 1024 ? ‘-1024′ : ”); ?&gt;.jpg’) bottom center no-repeat;<br />
    &lt;?php<br />
    }</p>
    <p> if ($mandigo_options) {<br />
    ?&gt;<br />
    cursor: pointer;<br />
    &lt;?php<br />
    }<br />
    ?&gt;<br />
    } </p>
    <p>#main {<br />
    background: url(images/bg&lt;?php echo ($mandigo_options == 1024 ? ‘-1024’ : ”); ?&gt;.png);<br />
    width: &lt;?php echo ($mandigo_options-67); ?&gt;px;<br />
    padding: 9px 15px;<br />
    }</p>
    <p>#main&gt;table {<br />
    width: 100%;<br />
    }</p>
    <p>.narrowcolumn, .widecolumn { width: 100%; }</p>
    <p>.narrowcolumn, .widecolumn, #sidebar1, #sidebar2, #sidebox {<br />
    vertical-align: top;<br />
    padding: 0 3px;<br />
    }</p>
    <p>.alt {<br />
    background-color: #fafafa;<br />
    border-top: 1px solid #eee;<br />
    border-bottom: 1px solid #eee;<br />
    }</p>
    <p>.postmetadata {<br />
    background-color: #fff;<br />
    }</p>
    <p>#footer {<br />
    background: url(images/foot&lt;?php echo ($mandigo_options == 1024 ? ‘-1024’ : ”); ?&gt;.png);<br />
    border: none;<br />
    }</p>
    <p>.post {<br />
    position: relative;<br />
    clear: both;<br />
    text-align: &lt;?php echo ($mandigo_options ? ‘left’ : ‘justify’); ?&gt;;<br />
    padding: 5px 15px;<br />
    margin: 0 auto 9px auto;<br />
    background: &lt;?php echo $mandigo_options; ?&gt;;<br />
    border: 1px solid &lt;?php echo $mandigo_options; ?&gt;;<br />
    &lt;?php<br />
    if ($ie||$ie7) { // peekaboo<br />
    ?&gt;<br />
    height: 1%;<br />
    &lt;?php<br />
    }<br />
    ?&gt;<br />
    }</p>
    <p>.narrowcolumn .postdata {<br />
    padding-top: 5px;<br />
    }</p>
    <p>.widecolumn .postmetadata {<br />
    margin: 30px 0;<br />
    }</p>
    <p>.smallattachment {<br />
    text-align: center;<br />
    width: 128px;<br />
    margin: 5px 5px 5px 0px;<br />
    }</p>
    <p>.attachment {<br />
    text-align: center;<br />
    margin: 5px 0px;<br />
    }</p>
    <p>.postmetadata, .entry, .inline-widgets, .clear {<br />
    clear: both;<br />
    }</p>
    <p>&lt;?php<br />
    if ($mandigo_options) {<br />
    ?&gt;<br />
    .entry p {<br />
    clear: both;<br />
    }<br />
    &lt;?php<br />
    }<br />
    ?&gt;</p>
    <p>#footer {<br />
    margin: 0 auto;<br />
    width: &lt;?php echo ($mandigo_options-37); ?&gt;px;<br />
    height: 68px;<br />
    }</p>
    <p>#footer p {<br />
    margin: 0;<br />
    padding: 10px 0 0 0;<br />
    text-align: center;<br />
    }</p>
    <p>&lt;?php<br />
    if ($ie) {<br />
    ?&gt;<br />
    * a {<br />
    position: relative;<br />
    }<br />
    &lt;?php<br />
    }<br />
    ?&gt;</p>
    <p>.sidebars {<br />
    background: &lt;?php echo $mandigo_options; ?&gt;;<br />
    border: 1px solid &lt;?php echo $mandigo_options; ?&gt;;<br />
    padding: 5px;<br />
    overflow: hidden;<br />
    }</p>
    <p>#sidebar1 .sidebars {<br />
    width: &lt;?php echo $mandigo_options; ?&gt;px;<br />
    }</p>
    <p>#sidebar2 .sidebars {<br />
    width: &lt;?php echo $mandigo_options; ?&gt;px;<br />
    }</p>
    <p>#sidebox {<br />
    height: 1%;<br />
    padding-bottom: 6px;<br />
    }</p>
    <p>.pagetitle {<br />
    text-align: center;<br />
    }</p>
    <p>.post .pagetitle {<br />
    margin-top: inherit;<br />
    text-align: left;<br />
    font-size: 1.5em;<br />
    }</p>
    <p>.sidebars .widgettitle {<br />
    margin: 5px 0 0 0;<br />
    }</p>
    <p>.comments {<br />
    margin: 40px auto 20px;<br />
    }</p>
    <p>.text-shadow { position: absolute; top: +2px; left: +2px; z-index: 98; }<br />
    .text-stroke-tl { position: absolute; top: -1px; left: -1px; }<br />
    .text-stroke-tr { position: absolute; top: -1px; left: +1px; }<br />
    .text-stroke-bl { position: absolute; top: +1px; left: -1px; }<br />
    .text-stroke-br { position: absolute; top: +1px; left: +1px; }<br />
    .text-stroke-tl, .text-stroke-tr, .text-stroke-bl, .text-stroke-br { z-index: 99; }</p>
    <p>.switch-post {<br />
    float: right;<br />
    position: relative;<br />
    right: -10px;<br />
    }</p>
    <p>&lt;?php<br />
    if ($ie) {<br />
    ?&gt;<br />
    .switch-post img {<br />
    width: 11px !important;<br />
    height: 11px !important;<br />
    }<br />
    &lt;?php<br />
    }<br />
    ?&gt;</p>
    <p>.commentlist .switch-post {<br />
    right: -5px;<br />
    }</p>
    <p>.catdesc {<br />
    padding: 0 10px;<br />
    text-align: justify;<br />
    font-style: italic;<br />
    }<br />
    /* End Structure */</p>
    <p>/* Begin Images */<br />
    .entry img {<br />
    float: &lt;?php echo ($mandigo_options ? ‘none’ : ‘left’); ?&gt;;<br />
    margin: 3px 10px 3px 0;<br />
    &lt;?php<br />
    if (!$mandigo_options) {<br />
    ?&gt;<br />
    background: #fff;<br />
    border: 1px solid #333;<br />
    padding: 3px;<br />
    &lt;?php<br />
    }<br />
    ?&gt;<br />
    }</p>
    <p>img.nofloat, img.nowrap, .nofloat img, .nowrap img, .smallattachment img, .attachment img, .entry img.wp-smiley {<br />
    float: none;<br />
    }</p>
    <p>.entry img.wp-smiley {<br />
    border: 0;<br />
    padding: 0;<br />
    margin: 0;<br />
    background: transparent;<br />
    }</p>
    <p>img.noborder, .noborder img {<br />
    background: inherit;<br />
    border: 0;<br />
    padding: inherit;<br />
    }</p>
    <p>img.centered {<br />
    display: block;<br />
    margin-left: auto;<br />
    margin-right: auto;<br />
    float: none;<br />
    }</p>
    <p>img.alignright, img.alignleft {<br />
    display: inline;<br />
    }</p>
    <p>.entry .alignright {<br />
    clear: right;<br />
    float: right;<br />
    margin: 3px 0 3px 10px;<br />
    }</p>
    <p>.entry .alignleft {<br />
    clear: left;<br />
    float: left;<br />
    margin: 3px 10px 3px 0;<br />
    }</p>
    <p>.entry .aligncenter {<br />
    float: none;<br />
    clear: both;<br />
    display: block;<br />
    margin: 3px auto 3px auto;<br />
    }</p>
    <p>.entry .alignnone {<br />
    float: none;<br />
    }<br />
    /* End Images */</p>
    <p>/* Begin Lists */<br />
    ol, ul {<br />
    padding: 0 0 0 20px;<br />
    }</p>
    <p>ol ol, ol ul, ul ul, ul ol {<br />
    padding: 0 0 0 10px;<br />
    }</p>
    <p>ul {<br />
    margin-left: 0;<br />
    list-style: none;<br />
    list-style-type: circle;<br />
    } </p>
    <p>li {<br />
    margin: 3px 0 4px 5px;<br />
    }</p>
    <p>.postdata ul, .postmetadata li {<br />
    display: inline;<br />
    list-style-type: none;<br />
    list-style-image: none;<br />
    }</p>
    <p>.sidebars li {<br />
    list-style-image: url(schemes/&lt;?php echo $mandigo_options; ?&gt;/images/star.gif);<br />
    margin: 0 0 15px 25px;<br />
    &lt;?php<br />
    if ($ie) {<br />
    ?&gt;<br />
    margin: 10px 0 15px 20px;<br />
    &lt;?php<br />
    }<br />
    ?&gt;<br />
    }</p>
    <p>.sidebars ul, .sidebars ol {<br />
    padding: 0;<br />
    }</p>
    <p>.sidebars ul li {<br />
    list-style-type: circle;<br />
    list-style-image: none;<br />
    margin: 0;<br />
    }</p>
    <p>ol, .sidebars ol {<br />
    list-style: decimal outside;<br />
    list-style-image: none;<br />
    }</p>
    <p>.sidebars p, .sidebars select {<br />
    margin: 5px 0 8px 0;<br />
    }</p>
    <p>.sidebars ul, .sidebars ol {<br />
    margin: 5px 0 0 5px;<br />
    }</p>
    <p>.sidebars ul ul, .sidebars ol {<br />
    margin: 0 0 0 10px;<br />
    }</p>
    <p>.sidebars ul li, .sidebars ol li {<br />
    margin: 3px 0 0 0;<br />
    }<br />
    /* End Entry Lists */</p>
    <p>/* Begin Form Elements */<br />
    #searchform {<br />
    margin: 0 auto;<br />
    padding: 0 3px;<br />
    text-align: center;<br />
    }</p>
    <p>#content #searchform {<br />
    margin-bottom: 10px;<br />
    text-align: left;<br />
    }</p>
    <p>.sidebars #searchform #s {<br />
    border: 1px dashed #ddd;<br />
    width: 140px;<br />
    padding: 2px;<br />
    }</p>
    <p>#content #searchform #s {<br />
    border: 1px dashed #bbb;<br />
    width: 200px;<br />
    padding: 2px;<br />
    }</p>
    <p>.sidebars #searchsubmit, #content #searchsubmit {<br />
    position: relative;<br />
    top: 6px;<br />
    }</p>
    <p>.entry form {<br />
    text-align: center;<br />
    }</p>
    <p>select {<br />
    width: 130px;<br />
    }</p>
    <p>#commentform {<br />
    margin-bottom: 1em;<br />
    width: 99%;<br />
    }</p>
    <p>#commentform input {<br />
    width: 170px;<br />
    padding: 2px;<br />
    margin: 5px 5px 1px 0;<br />
    }</p>
    <p>#commentform textarea {<br />
    width: 99%;<br />
    padding: 2px;<br />
    }</p>
    <p>#commentform #submit {<br />
    margin: 0 1em 0 0;<br />
    float: right;<br />
    }<br />
    /* End Form Elements */</p>
    <p>/* Begin Comments*/<br />
    .alt {<br />
    margin: 0;<br />
    padding: 10px;<br />
    }</p>
    <p>.commentlist {<br />
    text-align: justify;<br />
    &lt;?php<br />
    if ($mandigo_options) {<br />
    ?&gt;<br />
    margin-left: 2em;<br />
    &lt;?php<br />
    }<br />
    ?&gt;<br />
    margin-bottom: 15px;<br />
    }</p>
    <p>.commentlist li {<br />
    margin: 15px 0 3px 0;<br />
    padding: 5px 10px 3px 10px;<br />
    list-style: &lt;?php echo ($mandigo_options ? ‘decimal outside’ : ‘none’); ?&gt;;<br />
    }</p>
    <p>.commentlist p {<br />
    margin: 10px 5px 10px 0;<br />
    }</p>
    <p>#commentform p {<br />
    margin: 5px 0;<br />
    }</p>
    <p>.nocomments {<br />
    text-align: center;<br />
    }</p>
    <p>.commentmetadata {<br />
    display: block;<br />
    }</p>
    <p>.bypostauthor {<br />
    background: #EEE;<br />
    color: #000;<br />
    border-top: 1px solid #CCC;<br />
    border-bottom: 1px solid #CCC;<br />
    &lt;?php<br />
    /* alternate settings<br />
    background: #666;<br />
    color: #FFF;<br />
    */<br />
    ?&gt;<br />
    }<br />
    /* End Comments */</p>
    <p>/* Begin Calendar */<br />
    #wp-calendar {<br />
    empty-cells: show;<br />
    margin: 0 !important; margin-top: -1.5em&lt;?php echo ($safari||$ie7 ? ‘ !important;’ : ”); ?&gt;;<br />
    width: 155px;<br />
    }</p>
    <p>#wp-calendar caption {<br />
    margin-top: -1.4em;<br />
    &lt;?php<br />
    if ($safari) {<br />
    ?&gt;<br />
    margin-bottom: 1.5em;<br />
    &lt;?php<br />
    }<br />
    ?&gt;<br />
    }</p>
    <p>/* dirty fix for the event calendar plugin */<br />
    div#wp-calendar caption {<br />
    padding-top: 1.5em;<br />
    }<br />
    div#wp-calendar .nav {<br />
    margin: &lt;?php echo ($ie||$ie7||$safari ? ($ie7 ? 0 : ‘1.5em’) .’ 0 -1.5em 0′ : 0); ?&gt;;<br />
    position: relative;<br />
    }<br />
    /* end dirty fix */</p>
    <p>#wp-calendar #next a {<br />
    padding-right: 10px;<br />
    text-align: right;<br />
    }</p>
    <p>#wp-calendar #prev a {<br />
    padding-left: 10px;<br />
    text-align: left;<br />
    }</p>
    <p>#wp-calendar a {<br />
    display: block;<br />
    }</p>
    <p>#wp-calendar #today {<br />
    background: #fff;<br />
    }</p>
    <p>#wp-calendar caption {<br />
    text-align: left;<br />
    width: 100%;<br />
    }</p>
    <p>#wp-calendar th {<br />
    padding: 3px 0;<br />
    text-align: center;<br />
    }<br />
    #wp-calendar td {<br />
    padding: 3px 0;<br />
    text-align: center;<br />
    }<br />
    /* End Calendar */</p>
    <p>/* Begin Various Tags &amp; Classes */<br />
    acronym, abbr, span.caps {<br />
    cursor: help;<br />
    }</p>
    <p>acronym, abbr {<br />
    border-bottom: 1px dashed #999;<br />
    }</p>
    <p>blockquote {<br />
    margin: 15px 10px 0 10px;<br />
    padding: 0 20px 0 20px;<br />
    border: 1px dashed #ddd;<br />
    border-left: 0;<br />
    border-right: 0;<br />
    background: #fff;<br />
    }</p>
    <p>.center {<br />
    text-align: center;<br />
    }</p>
    <p>a img {<br />
    border: none;<br />
    }</p>
    <p>.navigation .alignleft {<br />
    padding: 20px 0;<br />
    width: 50%;<br />
    float: left;<br />
    text-align: left;<br />
    }</p>
    <p>.navigation .alignright {<br />
    padding: 20px 0;<br />
    width: 50%;<br />
    float: right;<br />
    text-align: right;<br />
    }</p>
    <p>.datestamp div {<br />
    color: #fff;<br />
    text-align: center;<br />
    line-height: 1.4em;<br />
    font-family: &lt;?php echo $font_families[$mandigo_options]; ?&gt;;<br />
    padding: 1px;<br />
    width: 2.9em;<br />
    }</p>
    <p>.datestamp {<br />
    display: inline;<br />
    padding: 1px;<br />
    float: left;<br />
    margin-right: 1em;<br />
    }</p>
    <p>.datestamp span {<br />
    display: block;<br />
    }</p>
    <p>.cal1 {<br />
    font-size: 1.5em;<br />
    letter-spacing: .2em;<br />
    padding-left: .2em<br />
    }<br />
    .cal1x {<br />
    letter-spacing: 0em;<br />
    padding-left: 0em<br />
    }</p>
    <p>.cal2 {<br />
    font-weight: bold;<br />
    font-size: 2em;<br />
    line-height: .7em;<br />
    }</p>
    <p>.cal3 {<br />
    font-size: .8em;<br />
    line-height: 1em;<br />
    &lt;?php<br />
    if ($mandigo_options == ‘serif’) {<br />
    ?&gt;<br />
    margin-top: 0.4em;<br />
    &lt;?php<br />
    }<br />
    ?&gt;<br />
    }</p>
    <p>.pages {<br />
    display: inline;<br />
    position: absolute;<br />
    left: 0;<br />
    bottom: 0;<br />
    text-align: &lt;?php echo $mandigo_options; ?&gt;;<br />
    padding: .6em 0;<br />
    width: 100%;<br />
    list-style-type: none;<br />
    }</p>
    <p>.pages li {<br />
    display: inline;<br />
    margin: 0 1em;<br />
    }</p>
    <p>.pages a, .pages a:hover {<br />
    font-size: 1.5em;<br />
    font-weight: bold;<br />
    color: #FFF;<br />
    letter-spacing: -.08em !important; letter-spacing: -.1em;<br />
    }</p>
    <p>.pages ul {<br />
    display: none;<br />
    position: absolute;<br />
    background: #111;<br />
    padding: 5px 0;<br />
    z-index: 101;<br />
    }</p>
    <p>.pages ul li {<br />
    display: block;<br />
    padding: 3px 0;<br />
    margin: 3px 10px;<br />
    border-top: 1px solid #333;<br />
    font-size: 85%;<br />
    }</p>
    <p>.pages ul li a {<br />
    color: #CCC;<br />
    }</p>
    <p>.wp-pagenavi {<br />
    clear: both;<br />
    }</p>
    <p>.wp-pagenavi span.pages {<br />
    position: static;<br />
    }</p>
    <p>.postinfo {<br />
    padding-bottom: 1em;<br />
    }</p>
    <p>.postinfo .posttitle {<br />
    line-height: .9em;<br />
    }</p>
    <p>.head_overlay {<br />
    background: url(images/head_overlay.&lt;?php echo ($ie ? ‘gif’ : ‘png’); ?&gt;);<br />
    }</p>
    <p>#rss {<br />
    float: right;<br />
    padding-right: 4px;<br />
    }</p>
    <p>.inline-widgets {<br />
    padding-left: 0;<br />
    }</p>
    <p>.inline-widgets li {<br />
    list-style-type: none;<br />
    }</p>
    <p>.inline-widgets li ul {<br />
    padding-left: 2em;<br />
    }</p>
    <p>.inline-widgets li li {<br />
    list-style-type: circle;<br />
    }</p>
    <p>.textwidget {<br />
    padding-right: 10px;<br />
    }</p>
    <p>.googlemap img {<br />
    background: inherit;<br />
    }<br />
    /* End Various Tags &amp; Classes*/</p>
    <p>&lt;?php<br />
    // the following set of rules are loaded only if a right-to-left script (eg. Hebrew, Arabic) is being used.<br />
    if (preg_match(‘/^(ar|he_IL)$/’, WPLANG)) {<br />
    ?&gt;<br />
    /* RTL scripts support */<br />
    .pages, #content, .sidebars, #footer {<br />
    direction: rtl;<br />
    }</p>
    <p>.blogname, .blogdesc {<br />
    width: &lt;?php echo ($mandigo_options-78); ?&gt;px;<br />
    text-align: right;<br />
    padding-left: 0;<br />
    margin-left: 0;<br />
    margin-right: 15px;<br />
    }</p>
    <p>.datestamp {<br />
    float: right;<br />
    margin-right: 0;<br />
    margin-left: 1em;<br />
    }</p>
    <p>.narrowcolumn .postmetadata, #content #searchform, #respond, #commentform p, .sidebars, #wp-calendar caption, .posttitle {<br />
    text-align: right;<br />
    }</p>
    <p>.entry img {<br />
    float: &lt;?php echo ($mandigo_options ? ‘none’ : ‘right’); ?&gt;;<br />
    margin: 3px 0 3px 10px;<br />
    }</p>
    <p>#commentform input {<br />
    margin: 5px 0 1px 5px;<br />
    }</p>
    <p>#commentform #submit {<br />
    margin: 0 0 0 1em;<br />
    }</p>
    <p>#commentform #submit, #rss {<br />
    float: left;<br />
    }</p>
    <p>ol, ul {<br />
    padding: 0 20px 0;<br />
    }</p>
    <p>ol ol, ol ul, ul ul, ul ol {<br />
    padding: 0 10px 0 0;<br />
    }</p>
    <p>ul {<br />
    margin-right: 0;<br />
    } </p>
    <p>li {<br />
    margin: 3px 5px 4px 0;<br />
    }</p>
    <p>.sidebars li {<br />
    margin: 0 25px 15px 0;<br />
    &lt;?php<br />
    if ($ie) {<br />
    ?&gt;<br />
    margin: 10px 20px 15px 0;<br />
    &lt;?php<br />
    }<br />
    ?&gt;<br />
    }</p>
    <p>&lt;?php<br />
    if ($firefox) {<br />
    ?&gt;<br />
    .pages li {<br />
    display: table-cell;<br />
    padding: 0 1em;<br />
    }</p>
    <p>.sidebars&gt;li {<br />
    list-style-image: none;<br />
    list-style-type: none;<br />
    }</p>
    <p>.sidebars&gt;li .widgettitle {<br />
    background-image: url(schemes/&lt;?php echo $mandigo_options; ?&gt;/images/star.gif);<br />
    background-repeat: no-repeat;<br />
    background-position: top right;<br />
    margin-right: -20px;<br />
    padding-right: 20px;<br />
    }<br />
    &lt;?php<br />
    }<br />
    ?&gt;</p>
    <p>.sidebars p, .sidebars select {<br />
    margin: 5px 0 8px 0;<br />
    }</p>
    <p>.sidebars ul, .sidebars ol {<br />
    margin: 5px 5px 0 0;<br />
    }</p>
    <p>.sidebars ul ul, .sidebars ol {<br />
    margin: 0 10px 0 0;<br />
    }</p>
    <p>.switch-post {<br />
    float: left;<br />
    }<br />
    &lt;?php<br />
    } // end of rtl scripts specific rules<br />
    ?&gt;
    </p>

  • #25347

    rapalero
    Participante

    En la opción "Html Inserts" del theme Mandigo ha habido que añadir el siguiente código en la primera casilla

    <style type="text/css">
    .post p {
    font-size: 120%;
    }
    </style>

El foro ‘Themes y Diseño’ está cerrado y no se permiten nuevos debates ni respuestas.

Pin It on Pinterest

Ir al contenido