|
Web aplikacije, web servisi i software Frameworks, web servisi, programi, plugin-ovi, ekstenzije korisni za razvoj web sajtova. Sponzor: |
|
Alati teme | Način prikaza |
23. 01. 2010. | #1 |
novi član
Na probnom radu
Datum učlanjenja: 23.01.2010
Poruke: 17
Hvala: 8
0 "Hvala" u 0 poruka
|
Wordpress velicina naslova u postovima problem ?
Pozdrav svim clanovima foruma
Imam jedan problem sa wordpress themom koja mi se jako svida ,a poprilicni sam noob sto se tice wordpressa.Naime htio bih smanjiti velicinu naslova u postovima jer su slova prevelika pa postovi izgledaju ruzno. Pokusavao sam u stylesheetu da promjenim to ali nije mi uspjelo.Ja sam cackao oko H1 ali mi nije uspjelo uopste.Moze li mi neko objasniti kako to da uradim. |
23. 01. 2010. | #2 |
Mladen Milentijevic
Professional
Datum učlanjenja: 20.06.2007
Lokacija: Sweden
Poruke: 224
Hvala: 43
21 "Hvala" u 21 poruka
|
Daj link da vidimo koja je tema.
|
"Hvala" Mladjo za poruku: |
23. 01. 2010. | #3 |
član
Certified
Datum učlanjenja: 30.01.2009
Poruke: 77
Hvala: 15
16 "Hvala" u 11 poruka
|
Obično je h2 u naslovu posta, recimo u defaultnoj temi imaš ovakav kod u index.php.
Kôd:
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> Kôd:
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a> Kad vidiš koji je tag u pitanju u cssu upiši .post h1, ili .post h2, ili .post h3 pa upiši veličinu fonta koju hoćeš. |
"Hvala" chandler za poruku: |
23. 01. 2010. | #4 |
novi član
Na probnom radu
Datum učlanjenja: 23.01.2010
Poruke: 17
Hvala: 8
0 "Hvala" u 0 poruka
|
Evo probao sam sve i h1 i h2 i h3 sve do h6 ali nisam opet uspio mozda negledam na pravom mjestu moze li neko objasnjenje za totalne noobove evo kako izgleda isjecak iz koda od teme iz style.css
Kôd:
/* Resert some headings default style & links default style for links in headings*/ h1, h2, h3, h4, h5, h6, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited { font-weight: normal; font-style: normal; text-decoration: none; } /* Start Content headings Fonts & Colors */ h1, h1 a, h1 a:link, h1 a:visited, h1 a:hover { font-family: "Trebuchet MS", Arial, Helvetica, Sans-Serif; font-size: 28px; text-transform: uppercase; text-align: left; color: #575757; } h2, h2 a, h2 a:link, h2 a:visited, h2 a:hover { font-family: "Trebuchet MS", Arial, Helvetica, Sans-Serif; font-size: 15px; font-style: normal; font-weight: normal; text-transform: uppercase; text-align: left; color: #575757; } h3, h3 a, h3 a:link, h3 a:visited, h3 a:hover { font-family: "Trebuchet MS", Arial, Helvetica, Sans-Serif; font-size: 22px; text-transform: uppercase; text-align: left; color: #757575; } h4, h4 a, h4 a:link, h4 a:visited, h4 a:hover { font-family: "Trebuchet MS", Arial, Helvetica, Sans-Serif; font-size:18px; text-transform: uppercase; text-align: left; color: #362C1B; } h5, h5 a, h5 a:link, h5 a:visited, h5 a:hover { font-family: "Trebuchet MS", Arial, Helvetica, Sans-Serif; font-size: 16px; text-transform: uppercase; text-align: left; color: #362C1B; } h6, h6 a, h6 a:link, h6 a:visited, h6 a:hover { font-family: "Trebuchet MS", Arial, Helvetica, Sans-Serif; font-size: 16px; text-transform: uppercase; text-align: left; color: #362C1B; |
23. 01. 2010. | #5 |
član
Certified
Datum učlanjenja: 30.01.2009
Poruke: 77
Hvala: 15
16 "Hvala" u 11 poruka
|
Okači index.php.
|
"Hvala" chandler za poruku: |
23. 01. 2010. | #6 |
novi član
Na probnom radu
Datum učlanjenja: 23.01.2010
Poruke: 17
Hvala: 8
0 "Hvala" u 0 poruka
|
evo drug
Kôd:
<?php get_header(); ?> <div class="contentLayout"> <div class="content"> <?php $prev_link = get_previous_posts_link(__('Newer Entries »', 'kubrick')); $next_link = get_next_posts_link(__('« Older Entries', 'kubrick')); ?> <?php if ($prev_link || $next_link): ?> <div class="Post"> <div class="Post-tl"></div> <div class="Post-tr"><div></div></div> <div class="Post-bl"><div></div></div> <div class="Post-br"><div></div></div> <div class="Post-tc"><div></div></div> <div class="Post-bc"><div></div></div> <div class="Post-cl"><div></div></div> <div class="Post-cr"><div></div></div> <div class="Post-cc"></div> <div class="Post-body"> <div class="Post-inner article"> <div class="PostContent"> <div class="navigation"> <div class="alignleft"><?php echo $next_link; ?></div> <div class="alignright"><?php echo $prev_link; ?></div> </div> </div> <div class="cleared"></div> </div> </div> </div> <?php endif; ?> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div class="Post"> <div class="Post-tl"></div> <div class="Post-tr"><div></div></div> <div class="Post-bl"><div></div></div> <div class="Post-br"><div></div></div> <div class="Post-tc"><div></div></div> <div class="Post-bc"><div></div></div> <div class="Post-cl"><div></div></div> <div class="Post-cr"><div></div></div> <div class="Post-cc"></div> <div class="Post-body"> <div class="Post-inner article"> <h2 class="PostHeaderIcon-wrapper"> <span class="PostHeader"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'kubrick'), the_title_attribute('echo=0')); ?>"> <?php the_title(); ?> </a></span> </h2> <?php $icons = array(); ?> <?php if (!is_page()) : ?> <?php ob_start(); ?> <img src="<?php bloginfo('template_url'); ?>/images/PostDateIcon.png" width="17" height="18" alt="PostDateIcon" /> <?php the_time(__('F jS, Y', 'kubrick')) ?> <?php $icons[] = ob_get_clean(); ?> <?php endif; ?> <?php if (!is_page()) : ?> <?php ob_start(); ?> <img src="<?php bloginfo('template_url'); ?>/images/PostAuthorIcon.png" width="14" height="14" alt="PostAuthorIcon" /> <?php _e('Author', 'kubrick'); ?>: <a href="#" title="<?php _e('Author', 'kubrick'); ?>"><?php the_author() ?></a> <?php $icons[] = ob_get_clean(); ?> <?php endif; ?> <?php if (current_user_can( 'edit_post', $post->ID )) : ?><?php ob_start(); ?> <img src="<?php bloginfo('template_url'); ?>/images/PostEditIcon.png" width="14" height="14" alt="PostEditIcon" /> <?php edit_post_link(__('Edit', 'kubrick'), ''); ?> <?php $icons[] = ob_get_clean(); ?><?php endif; ?> <?php if (0 != count($icons)): ?> <div class="PostHeaderIcons metadata-icons"> <?php echo implode(' | ', $icons); ?> </div> <?php endif; ?> <div class="PostContent"> <?php if (is_search()) the_excerpt(); else the_content(__('Read the rest of this entry »', 'kubrick')); ?> </div> <div class="cleared"></div> <?php $icons = array(); ?> <?php if (!is_page()) : ?> <?php ob_start(); ?> <img src="<?php bloginfo('template_url'); ?>/images/PostCategoryIcon.png" width="18" height="18" alt="PostCategoryIcon" /> <?php printf(__('Posted in %s', 'kubrick'), get_the_category_list(', ')); ?> <?php $icons[] = ob_get_clean(); ?> <?php endif; ?> <?php if (!is_page() && get_the_tags()) : ?><?php ob_start(); ?> <img src="<?php bloginfo('template_url'); ?>/images/PostTagIcon.png" width="18" height="18" alt="PostTagIcon" /> <?php the_tags(__('Tags:', 'kubrick') . ' ', ', ', ' '); ?> <?php $icons[] = ob_get_clean(); ?><?php endif; ?> <?php if (!is_page() && !is_single()) : ?><?php ob_start(); ?> <img src="<?php bloginfo('template_url'); ?>/images/PostCommentsIcon.png" width="18" height="18" alt="PostCommentsIcon" /> <?php comments_popup_link(__('No Comments »', 'kubrick'), __('1 Comment »', 'kubrick'), __('% Comments »', 'kubrick'), '', __('Comments Closed', 'kubrick') ); ?> <?php $icons[] = ob_get_clean(); ?><?php endif; ?> <?php if (0 != count($icons)): ?> <div class="PostFooterIcons metadata-icons"> <?php echo implode(' | ', $icons); ?> </div> <?php endif; ?> </div> </div> </div> <?php endwhile; ?> <?php if ($prev_link || $next_link): ?> <div class="Post"> <div class="Post-tl"></div> <div class="Post-tr"><div></div></div> <div class="Post-bl"><div></div></div> <div class="Post-br"><div></div></div> <div class="Post-tc"><div></div></div> <div class="Post-bc"><div></div></div> <div class="Post-cl"><div></div></div> <div class="Post-cr"><div></div></div> <div class="Post-cc"></div> <div class="Post-body"> <div class="Post-inner article"> <div class="PostContent"> <div class="navigation"> <div class="alignleft"><?php echo $next_link; ?></div> <div class="alignright"><?php echo $prev_link; ?></div> </div> </div> <div class="cleared"></div> </div> </div> </div> <?php endif; ?> <?php else : ?> <h2 class="center"><?php _e('Not Found', 'kubrick'); ?></h2> <p class="center"><?php _e('Sorry, but you are looking for something that isn’t here.', 'kubrick'); ?></p> if(function_exists('get_search_form')) get_search_form(); <?php endif; ?> </div> <div class="sidebar1"> <?php include (TEMPLATEPATH . '/sidebar1.php'); ?> </div> </div> <div class="cleared"></div> <?php get_footer(); ?> |
23. 01. 2010. | #7 |
član
Certified
Datum učlanjenja: 30.01.2009
Poruke: 77
Hvala: 15
16 "Hvala" u 11 poruka
|
Ovo je pravljeno s Artisteerom, pa nema nikakvih h tagova.
Ubaci u css ovo: .PostHeader a { font-size: 24px; } i štimaj kako ti odgovara. |
"Hvala" chandler za poruku: |
23. 01. 2010. | #8 |
novi član
Na probnom radu
Datum učlanjenja: 23.01.2010
Poruke: 17
Hvala: 8
0 "Hvala" u 0 poruka
|
|
23. 01. 2010. | #9 |
novi klan
Professional
Datum učlanjenja: 03.02.2007
Poruke: 326
Hvala: 43
427 "Hvala" u 50 poruka
|
Aj da te naučim kako se peca riba
Instaliraj web developer toolbar add-on za firefox. Kad ga uključiš, dobićeš toolbar, izaberi CSS->View Style Information. Onda pređi mišem preko elementa koji ti pravi problem, i prikazaće ti koja je klasa u pitanju. Ako i klikneš na element, daće ti samu definiciju klase, kao i fajl u kome se nalazi, i generalno, ulepšaće ti život kad je CSS u pitanju, a i mnoge druge stvari vezane za web razvoj.
__________________
We professional we dealin' with business |
"Hvala" japan za poruku: |
23. 01. 2010. | #10 |
Knowledge base
Wrote a book
Datum učlanjenja: 16.06.2005
Lokacija: Novi Sad
Poruke: 1.437
Hvala: 37
131 "Hvala" u 82 poruka
|
Jesi siguran da editujes pravi css fajl?
__________________
Năo quero mais seguir um só caminho |
|
|
Slične teme | ||||
Tema | Početna poruka teme | Forum | Odgovori | Poslednja poruka |
Prikaz broja komentara na post na kraju svakog naslova (Wordpress) | 5ky | Sva početnička pitanja | 1 | 26. 08. 2010. 19:12 |
Prikaz broja komentara na post na kraju svakog naslova (Wordpress) | 5ky | Web aplikacije, web servisi i software | 4 | 17. 07. 2010. 11:02 |
Wordpress permissions problem 750/755 | fole25 | Sva početnička pitanja | 2 | 06. 06. 2010. 03:18 |
Wordpress thumbnails problem | connected | Sva početnička pitanja | 6 | 05. 11. 2008. 13:34 |
WordPress 2.3.3 utf-8 problem | Dragan Varagić | Web aplikacije, web servisi i software | 14 | 07. 05. 2008. 16:55 |