Theme Support Forum

Support Forum for Free and Premium Themes. Premium Theme Forums are Private! Please log in first to see the Premium forums

Viewing 18 posts - 1 through 18 (of 18 total)

Title box between "Blocks" and "Posts"

Home Forums Misc. General Forums Title box between "Blocks" and "Posts"

  • #12573

    alessandrot

    subscriber

    Hi there,

    Just a quick question:

    How can I add a white, rectangular “box” that looks similar to the white box that says “Contact” (on my website: alessandrotschabold.com) between the Blocks and my Posts?

    Inside that “box” I’d like to write something like: “Digital News Feed:”.

    I’d like to do this to help people understand what my posts are all about.

    Thank you for your help as always!

    #18039

    Towfiq I.

    administrator

    Go to Appearance> Editor and select “index.php” and add this:

    <div style="background:#fff; border:1px solid #ececec;width:970px; padding:15px;">
    <p>put your text here............</p>
    </div>

    add the above code after this line:

    <!--MIDROW END-->

    #18040

    alessandrot

    subscriber

    Thank you. I just tried that but it messed up the background of my “Blocks” – the shadow disappeared and became all white. Is there a solution to make it work without removing the background color/shadow of the blocks?

    #18041

    Towfiq I.

    administrator

    can you add the code and let me know. I want to take a look at it..

    #18042

    alessandrot

    subscriber

    I just added it again: http://www.alessandrotschabold.com/

    #18043

    Towfiq I.

    administrator

    okay try this:

    <div style="background:#fff; border:1px solid #ececec;width:970px; padding:15px;float:left;">
    <p>put your text here............</p>
    </div>

    #18044

    alessandrot

    subscriber

    One last question: how can I center the text (just like “Contact”)? Thank you!

    #18045

    Towfiq I.

    administrator

    Try this:

    <div style="background:#fff; border:1px solid #ececec;width:970px; padding:15px;float:left;text-align:center;">
    <p>put your text here............</p>
    </div>

    #18046

    alessandrot

    subscriber

    That worked! Awesome, thank you!

    #18047

    alessandrot

    subscriber

    Hi,

    How can I increase the font size where it says “put your text here”?

    Thank yoU!

    #18048

    Towfiq I.

    administrator

    replace this:

    <p>put your text here............</p>

    with:

    <p style="font-size:18px;">put your text here............</p>

    #27046

    Jorge

    Hi Towfiq,

    In Triton Lite Theme, how can I add a text box between slider and last posts?
    I was trying with this one that I’ve found in this forum (not for Triton)

    <div style=”background:#fff; border:1px solid #ececec;width:970px; padding:15px;float:left;text-align:center;”>
    <p>put your text here…………</p>
    </div>

    It works for left and right floats, but when I change float to center something goes wrong.

    Thanks!

    #27058

    Towfiq I.

    administrator

    whats your site address Jorge?

    #27064

    Jorge

    Hi Towfiq,
    The adress is
    http://www.espaciodetango.com
    Thanks!

    #27157

    Towfiq I.

    administrator

    I dont see the block. dd you add the code?

    #27202

    Jorge

    Sorry, now you can see the block, but is too close with the slider.
    How can I put the block in the middle, between the slider and the posts?
    Thanks!
    Used code:

    <!–CONTENT–>

    <div id=”content”>
    <div class=”center”>

    <div style=”background:#fff; border:1px solid #ececec; width:950px; padding:0px; float:left; text-align:center;”>
    <p><h2>Novedades en Espacio de Tango</h2></p>
    </div>

    <?php if( empty($option[‘trt_lay’])) { ?>
    <?php get_template_part(‘layout1’);?>
    <?php }?>
    <?php if($option[‘trt_lay’]== “Layout 1”) { ?>
    <?php get_template_part(‘layout1’);?>
    <?php }?>
    </div>
    </div>

    #27204

    Towfiq I.

    administrator

    replace this:

    <div style="background:#fff; border:1px solid #ececec; width:950px; padding:0px; float:left; text-align:center;">

    with:

    <div style="background:#fff; border:1px solid #ececec; width:950px; padding:0px; float:left; text-align:center;margin-top:50px;">

    #27208

    Jorge

    Done!
    Thank you very much!
    Best regards,
    Jorge