Προς το περιεχόμενο

Προτεινόμενες αναρτήσεις

Δημοσ.

Καλησπέρα το site μου είναι σε wordpress..

Θέλω να κατεβάσω πιο χαμηλά τους τίτλους των pages σε σχέση με το header..

Μπαινω από το wordpress - Αppearence -> Editor -> stylesheet αλλα δεν βγαζω άκρη πως μπορει να γίνει..

Γνωρίζει κανείς;;

thanx

Δημοσ.

Ε ανέβασε το stylesheet (ή ακόμα καλύτερα δώσε λινκ για την σελίδα) στα τυφλά...λογικά κάποιο margin/padding θα υπάρχει που όταν θα το αλλάξεις θα αλλάξει και η απόσταση,αλλά μην το δένεις και κόμπο.

Δημοσ.

Παραθέτω των κώδικα..

 

 

/*
Theme Name:         Align
Theme URI:          -
Description:        -
Version:            0.5
Author:            -
Author URI:         -
Tags: flexible-width, threaded-comments, microformats, translation-ready, rtl-language-support, one-column, three-columns
License:            -
License URI:        
*/






.backimg img {
	margin-top: -5px !important;
	width: 100%;
}

body {
	font-family: "Arial";
}


@import "http://fonts.googleapis.com/css?family=Droid+Serif:400,400italic,700";

/* -------------------------------------------------- 
   Table of Contents
-----------------------------------------------------
:: Adjustments
:: Styling Basic WordPress Outputs
:: Posts
:: Main Stylings
*/

/* ---------------------------------------------------
    Adjustments
--------------------------------------------------- */
	
	/* Auto Height for Images for Responsive Design */
	img { height: auto; }
	li { margin-bottom: 2%!important; }
 
	/* Foundation-specific presentation CSS by ZURB */
	body { padding-bottom: 60px; }

/* -----------------------------------------
   Styling Basic WordPress Outputs
----------------------------------------- */
	
	/* Resizing the Blog Post */
	.post-box p { line-height: 2em!important; }
	.post-box { font-size: 12px; line-height: 20px!important; margin-bottom: 50px; }
	.post-box h1 { font-weight: bold; font-size: 30px; line-height: 1; margin-bottom: 2px; }
	.post-box h2 { font-weight: bold; font-size: 26px; line-height: 1; margin-bottom: 2px; }
	.post-box h3 { font-size: 22px;	}
	.post-box h4 { font-size: 18px;	}
	.post-box h5 { font-size: 16px;	}

        .row .fix.columns { width: 67.2%; }
	
	/* Add HTML5 Caption Class for Images */
	figure.figure {	background: #EEE; margin: 0 0 18px;	-webkit-border-radius: 3px;	-moz-border-radius: 3px; display: inline-block; }
	figure.figure figcaption { display: block; padding: 8px 10px; font-size: 13px; line-height: 18px; color: #555; }
	figure.alignright.figure { float: right; margin: 0 0 18px 18px; }
	figure.alignleft.figure { float: left; margin: 0 18px 18px 0; }
	
	/* Footer Nav */
	.footer-section { padding-bottom: 10px; padding-top: 20px; font-size: 1.3rem; font-weight: normal; }
	.footer-nav li { display: block; float: right; padding-left: 3%; margin-bottom: 0; }

/*  --------------------------
    Posts
    ----------------------- */

.alignnone { margin: 0 0 20px; }
.aligncenter, div.aligncenter { display:block; margin: 5px auto 5px auto; }
.alignright { float:right; margin: 5px 0 20px 20px; }
.alignleft { float:left; margin: 5px 20px 20px 0; }
.aligncenter { display: block; text-align:center; margin: 5px auto 5px auto; }
a img.alignright { float:right; margin: 0 0 20px; }
a img.alignnone { margin: 0 0 20px; }
a img.alignleft { float:left; margin: 5px 20px 15px 0; }
a img.aligncenter { display: block; margin-left: auto; margin-right: auto }
em { font-style:italic; }
.wp-caption { background: #fff; border: 1px solid #f0f0f0; max-width: 96%; /* Image does not overflow the content area */ padding: 5px 3px 10px; text-align: center; }
.wp-caption.alignnone { margin: 5px 20px 20px 0; }
.wp-caption.alignleft { margin: 5px 20px 20px 0; }
.wp-caption.alignright { margin: 5px 0 20px 20px; }
.wp-caption img { border: 0 none; height: auto; margin:0; max-width: 98.5%; padding:0; width: auto; }
.wp-caption p.wp-caption-text, .gallery-caption { font-size:11px; line-height:17px; margin:0; padding:5px 4px 0; }
.sticky {}
.bypostauthor { border:3px; }


/*  --------------------------
    Main Stylings
    ----------------------- */

.sidebar-box { border-top: 1px solid #DDDDDD; }
.sidebar-section h6 { font-size: 11px; margin-bottom: 10px; text-transform: uppercase;  font-weight: bold; }
.sidebar-section li a { border-bottom: 1px solid #DDDDDD; display: block; padding: 10px 0; }
.sidebar-section li:first-child a { padding-top: 0; }
.sidebar-section .textwidget, .sidebar-section .tagcloud { border-bottom: 1px solid #DDDDDD; padding-bottom: 20px; }
.sidebar-section { font-size: 11px; padding: 20px 0 0; }
.sidebar-section ul { margin: 0; }
.sidebar-box input { background: #FFFFFF !important; width: auto !important; max-width: 100%; }

.meta h2 { font-size: 12px; padding: 20px 0; border-bottom: 1px solid #DDDDDD;}
#header { margin-top: 20px; text-align: center; }
.tagl { border-bottom: 1px solid #DDDDDD; margin: 0 0 20px; padding: 30px 0; }
.tagl h1 { font-weight: normal; margin: 0; text-transform: uppercase; }
.tagl h4 { font-size: 13px; font-weight: normal; }

.catmet { border-bottom: 1px solid #DDDDDD; padding: 10px 0 0; }
.catmet p { font-size: 11px; }
.catmet h6 { font-size: 11px; font-weight: bold; margin-bottom: 10px; }
.catmet a { color: #666666; }

#post-nav { border-top: 1px solid #E33030; padding: 20px 0 0; }
#post-nav a, #post-nav .current { display: block; float: left; margin-right: 5px; padding: 0 5px 5px; }
#post-nav a:hover, #post-nav .current { border-bottom: 1px solid #000000; }
.menu-bar {  margin: 0; padding: 0 0 20px; text-align: center; }
.menu-bar li { display: inline; font-size: 12px; margin: 0 10px; text-transform: uppercase; letter-spacing: 1px; }
.menu-bar li:first-child span { display: none; }
#dotn { margin-right: 15px; }
.menu-bar a:hover { text-decoration: underline; }

#footer { border-top: 1px solid #DDDDDD; font-size: 12px; margin-top: 20px; padding: 20px 0 5px; }
#footer ul { margin-bottom: 0; }

#comment { border: none; margin: 10px 0 0; width: 85%; max-width: 500px; }
#s { margin-bottom: 10px; }
#respond {}
#reply-title { font-size: 14px; margin: 0 0 20px; text-decoration: underline; }
.required { color: #CC4D22; }
.form-allowed-tags { display: none; }
.comment-notes { display: none; }
#commentlist p { margin-left: 52px; }
#commentlist { margin: 20px 0 40px; }
#commentlist li { list-style: none; }
#commentlist li ul li { border-left: 1px solid #EEEEEE; border-top: 1px solid #EEEEEE; list-style: none; margin: 15px; padding: 10px; }
#commentlist li.bypostauthor {}
.comment-author a {}
.comment-form-comment label { display: none !important; }
#commentform input { border: none; padding: 5px; display: block; float: left; margin-right: 12px; }
.comment-meta, #commentlist cite { color: #444444; }
#commentform label { font-size: 11px; display: inline; }
.reply a { color: #000000; text-decoration: underline; }
.avatar { float: left; margin-right: 20px; }
.reply a:hover { text-decoration: none; }
.form-submit #submit:hover { background: #FFFFFF; }
.nocom p { background: #F2F2F2; padding: 10px; }

.post-author p { line-height: 1.5em !important; margin: 0; }
.post-author { border-bottom: 1px solid #DDDDDD; border-top: 2px solid #000000; margin-bottom: 20px; padding: 15px 0; }
.post-author h6 { font-size: 14px; margin-bottom: 5px; }
.post-author-image { display: block; float: left; margin: 0; }
Δημοσ.

Φαντάζομαι ότι εδώ θα είναι οι τίτλοι που λες,έχει 20 px(pixel/κουκκίδες) απόσταση;; Απλά άλλαξε το 20px και δώσε παραπάνω.

#post-nav { border-top: 1px solid #E33030; padding: 20px 0 0; }

Αλλιώς μπορείς να δοκιμάσεις να αλλάξεις το περιθώριο στον header,εδώ δίνει 20px χώρο από πάνω,μπορείς να προσθέσεις ένα margin-bottom: 20px(ή και παραπάνω) να δεις αν γίνει αυτό που θέλεις,να δώσει δηλαδή περιθώριο και από κάτω.

#header { margin-top: 20px; margin-bottom: 20px; text-align: center; }
Δημοσ.

 

Φαντάζομαι ότι εδώ θα είναι οι τίτλοι που λες,έχει 20 px(pixel/κουκκίδες) απόσταση;; Απλά άλλαξε το 20px και δώσε παραπάνω.

#post-nav { border-top: 1px solid #E33030; padding: 20px 0 0; }

Αλλιώς μπορείς να δοκιμάσεις να αλλάξεις το περιθώριο στον header,εδώ δίνει 20px χώρο από πάνω,μπορείς να προσθέσεις ένα margin-bottom: 20px(ή και παραπάνω) να δεις αν γίνει αυτό που θέλεις,να δώσει δηλαδή περιθώριο και από κάτω.

#header { margin-top: 20px; margin-bottom: 20px; text-align: center; }

 

Tέλεια ήταν το margin top που έπρεπε να αλλάξω..

Υπάρχει κάποια εντολή που να τοποθετει τους τιτλους των pages στη μέση της οθόνης;;

Μπορω πχ να δώσω height/2; ; ωστε να σε κάθε ανάλυση να κάθεται στη μέση;

thanx elf

Δημοσ.

Αυτό γίνεται με javascript, δεν έχω σχέση με αυτά,μπορείς όμως να βρεις έτοιμο κώδικα «εύκολα» στο νετ γράφοντας javascript align vertical center   

Δημιουργήστε ένα λογαριασμό ή συνδεθείτε για να σχολιάσετε

Πρέπει να είστε μέλος για να αφήσετε σχόλιο

Δημιουργία λογαριασμού

Εγγραφείτε με νέο λογαριασμό στην κοινότητα μας. Είναι πανεύκολο!

Δημιουργία νέου λογαριασμού

Σύνδεση

Έχετε ήδη λογαριασμό; Συνδεθείτε εδώ.

Συνδεθείτε τώρα
  • Δημιουργία νέου...