Responsive WordPress Theme – Caliber

A theme with simple controls and limitless potential. Work fast and build an amazing website!   Find out more »

UpThemes – Beautiful WordPress Themes

Create a site your church, gallery, newspaper, blog, recipes, band and more!   See the themes »

Need a little help?  Find answers quickly by searching the forum.
Group Admins
  • andy
  • jeffw

Support for: Traject – WordPress Portfolio and Business Theme

Traject (WordPress)

Public Group  |  active 4 years, 4 months ago ago
Viewing post 1 to 5 (5 total posts)

Center the post titles on portfolio listing pages

  • ubernaut

    said

    my client wanted me to center the post titles on the portfolio listing pages so i tried adding this css rule:

    h4 { font-size: 1.35em; text-align: center; margin-bottom: 0.5em; border-bottom: none; }

    but it didn’t seem to work i was thinking maybe because it’s h4? is this possible or am i pounding my head against the wall here?

    thanks!

  • ubernaut

    said

    hmm i tried adding that code into the style.css file as so:

    /*  
    Theme Name: Traject
    Theme URI: http://themeforest.net/item/traject-wordpress-portfolio-and-business-theme/116671
    Description: Traject is a new way of showcasing your products and services. Designed to bring attention to important information making content organization easy.
    Author: <a href="http://themeforest.net/user/Parallelus">Parallelus</a> (Andy Wilkerson)
    Author URI: http://para.llel.us
    Version: 1.2.5
    */
    .portfolioDescription p { display: none }
    .portfolioItem .portfolioDescription h4 { text-align: center }
    /*
    *  The default styles for this theme can be found in the file "style-default.css"
    *  Skin specific styles are located in the "style-skin-#.css" files.
    */

    but the titles are still left aligned:

    http://silconconstruction.com/projects/

    really appreciate the help!

    :)

  • jeffw

    said

    The CSS I posted works…

    Always add your custom CSS to the foot of the skin’s stylesheet, which in your case is the ‘style-skin-1.css’ file.

    If you add CSS to the top of the ‘style.css’ file then there’s a chance the same style will be set later on in that file, or in the skin’s stylesheet, and if that’s the case the later style declaration will take precedence.

Viewing post 1 to 5 (5 total posts)