Zadejte hledaný výraz...
Jakub Glos
Webtrh.cz
Vývoj webových stránek na WordPressu a proklientský přístup pro freelancery
Třídenní infromacemi nabitý prezenční + online kurz v Praze od Webtrhu pouze za 2 871 Kč
Více informací

Jak se zbavit rámečku u obrázků?

A taky jak a kde nahradit "on" u komentářů vypadá to dost blbě když Franta respondoval on Vidle na hnůj.
A poslední věc, proč se mi nezobrazí náhled obrázku zde u článku o houbách, kde je zase zakopaný maxipes?
http://www.farmarske-trhy-ostrava.cz
Díky za pomoc, odměnou je reputace + tchýně + půlka království
16. 9. 2010 14:47:34
https://webtrh.cz/diskuse/jak-se-zbavit-ramecku-u-obrazku/#reply558346
Michal Běhal
verified
rating uzivatele
(59 hodnocení)
16. 9. 2010 14:56:49
Řekl bych, že máš ve style.css definovanej border u .img asi v content tak tam to změň
"on" by si měl změnit v comments.php
K obrázku ti neporadím, musel bych vidět víc. Zkus se podívat zda máš správnou velikost a cestu k souboru
16. 9. 2010 14:56:49
https://webtrh.cz/diskuse/jak-se-zbavit-ramecku-u-obrazku/#reply558345
.img jsem nenašel
/*
Theme Name: Earthlingtwo
Theme URI: http://www.freewpthemes.net/preview/earthlingtwo
Description: Widget ready and tested on WP 2.3.1.
Version: 2.0
Author: Free WordPress Themes
Author URI: http://www.freewpthemes.net/
*/
body {
margin: 0;
padding: 0;
background: #F7F7F7 url(images/img01.jpg) repeat left top;
font-family: Verdana, Times New Roman, Times, serif;
font-size: 14px;
color: #5A554E;
}
h1, h2, h3 {
margin: 0;
padding: 0;
font-weight: normal;
color: #32639A;
font-family: Verdana, Times New Roman, Times, serif;
}
h1 {
font-size: 2em;
}
h2 {
font-size: 2.4em;
}
h3 {
font-size: 1.6em;
}
p, ul, ol {
margin-top: 0;
line-height: 200%;
font-family: "Trebuchet MS", Georgia, "Times New Roman", Times, serif;
}
ul, ol {
margin: 0px;
padding: 0px;
list-style: none;
}
a {
text-decoration: underline;
color: #516C00;
}
a:hover {
text-decoration: none;
}
h2 a {
text-decoration: none;
}
#wrapper {
margin: 0px;
padding: 0px;
background: url(images/img02.jpg) repeat-x left top;
}
/* Header */
#header {
width: 1000px;
height: 235px;
margin: 0 auto;
padding: 0px;
background: url(images/img03.jpg) no-repeat left top;
}
/* Logo */
#logo {
float: left;
margin: 0;
padding: 915px 0px 0px 50px;
color: #000000;
}
#logo h1, #logo p {
margin: 0;
padding: 0;
font-family: Georgia, "Times New Roman", Times, serif;
}
#logo h1 {
letter-spacing: -1px;
text-transform: lowercase;
font-size: 1px;
}
#logo h1 a {
color: #44a6d5;
}
#logo p {
margin: -30px 0px 0px 0px;
padding: 26px 0 0 2px;
font: normal 1px Georgia, "Times New Roman", Times, serif;
color: #44a6d5;
}
#logo a {
border: none;
background: none;
text-decoration: none;
color: #44a6d5;
}
/* Search */
#search {
width: 280px;
}
#search form {
}
#search fieldset {
margin: 0;
padding: 0;
border: none;
}
#search-text {
width: 170px;
padding: 6px 5px 2px 5px;
border: 1px solid #DEDEDE;
background: #FFFFFF;
text-transform: lowercase;
font: normal 11px Arial, Helvetica, sans-serif;
color: #5D781D;
}
#search-submit {
color: #000000;
}
#banner {
margin-bottom: 20px;
border: 12px #ECECEC solid;
}
/* Menu */
#menu {
width: 1000px;
height: 55px;
margin: 0 auto;
padding: 0;
background: url(images/img04.jpg) no-repeat left top;
}
#menu ul {
float: right;
margin: 0;
padding: 0px 25px 0px 0px;
list-style: none;
line-height: normal;
}
#menu li {
float: left;
}
#menu a {
display: block;
width: 120px;
height: 39px;
margin-left: 10px;
padding-top: 11px;
background: url(images/img05.jpg) repeat-x left top;
font-family: Verdana, Times New Roman, Times, serif;
text-decoration: none;
text-align: center;
font-size: 14px;
font-weight: bold;
color: #FFFFFF;
border: none;
}
#menu a:hover, #menu .current_page_item a {
text-decoration: none;
}
#menu .current_page_item a {
background: url(images/img06.jpg) no-repeat left top;
padding-left: 0;
color: #493E2B;
}
/* Page */
#page {
width: 900px;
margin: 0px auto;
padding: 40px 50px 0px 50px;
background: #FFFFFF;
}
/* Content */
#content {
float: left;
width: 570px;
padding: 0px 0px 0px 0px;
}
.post {
margin-bottom: 15px;
}
.post-bgtop {
}
.post-bgbtm {
}
.post .title {
margin-bottom: 10px;
padding: 12px 0 0 0px;
letter-spacing: -.5px;
font-size: 22px;
color: #493E2B;
}
.post .title a {
color: #493E2B;
border: none;
}
.post .meta {
margin: -10px 0px 0px 0px;
padding: 0px 0px 10px 0px;
letter-spacing: -1px;
font-size: 21px;
font-weight: normal;
color: #6E8D3D;
font-family: Georgia, "Times New Roman", Times, serif;
}
.post .meta .date {
float: left;
}
.post .meta .posted {
float: right;
}
.post .meta a {
}
.post .entry {
background: url(images/img08.jpg) no-repeat left top;
padding: 25px 0px 0px 0px;
text-align: justify;
}
.links {
padding-top: 20px;
}
.more {
padding-left: 16px;
background: url(images/img10.gif) no-repeat left 3px;
text-decoration: underline;
font-size: 11px;
font-weight: normal;
}
.comments {
padding-left: 18px;
background: url(images/img11.gif) no-repeat left 4px;
text-decoration: underline;
font-size: 11px;
font-weight: normal;
}
/* Sidebar */
#sidebar {
float: right;
width: 273px;
padding: 0px;
color: #787878;
}
#sidebar ul {
margin: 0;
padding: 0;
list-style: none;
}
#sidebar li {
margin: 0;
padding: 0;
}
#sidebar li ul {
margin: 0px 0px;
padding-bottom: 20px;
}
#sidebar li li {
line-height: 35px;
margin: 0px;
padding: 2px 0px;
border-left: none;
}
#sidebar li li span {
height: 19px;
margin-right: 16px;
padding: 4px 12px;
background: #3D2A0B url(images/img12.jpg) repeat-x left top;
font-size: 11px;
color: #FFFFFF;
}
#sidebar li li span a {
color: #FFFFFF;
}
#sidebar h2 {
height: 65px;
background: url(images/img09.jpg) no-repeat left bottom;
letter-spacing: -.5px;
font-size: 22px;
color: #493E2B;
}
#sidebar p {
margin: 0 0px;
padding: 0px 0px 30px 0px;
text-align: justify;
}
#sidebar p strong {
color: #4A3E29;
}
#sidebar a {
border: none;
}
#sidebar a:hover {
}
/* Calendar */
#calendar {
}
#calendar_wrap {
padding: 20px;
}
#calendar table {
width: 100%;
}
#calendar tbody td {
text-align: center;
}
#calendar #next {
text-align: right;
}
/* Footer */
#footer-content {
width: 900px;
height: 255px;
margin: 0 auto;
padding: 60px 50px 0px 50px;
background: url(images/img15.jpg) no-repeat left top;
font-size: 12px;
color: #887450;
}
#footer-content .column1 {
float: left;
width: 570px;
}
#footer-content .column2 {
float: right;
width: 273px;
}
#footer-content h2 {
padding-bottom: 10px;
font-size: 22px;
color: #E3D2B6;
}
#footer-content strong {
color: #E3D2B6;
}
#footer-content a {
color: #AA8B55;
}
#footer-content a:hover {
color: #AA8B55;
}
.list li {
margin-bottom: 6px;
}
#footer {
height: 50px;
margin: 0 auto;
padding: 0px 0 15px 0;
font-family: Arial, Helvetica, sans-serif;
}
#footer p {
margin: 0;
line-height: normal;
font-size: 12px;
text-align: center;
color: #82A2B9;
}
#footer a {
text-decoration: underline;
color: #82A2B9;
}
.pagetitle {
padding-top: 20px;
}
.navigation {
}
.alignright {
float: right;
}
.alignleft {
float: left;
}
16. 9. 2010 15:13:11
https://webtrh.cz/diskuse/jak-se-zbavit-ramecku-u-obrazku/#reply558344
risolohyna
verified
rating uzivatele
(9 hodnocení)
16. 9. 2010 15:18:37
si tam pridaj na koniec
img { border: 0px; } a zmiznu ti ramceky u vsetkych obrazkov na stranke .. :) alebo to pridaj len do nejakej class-y, ked to chces len niektorym obrazkom ..
PS: na linuxe a FF to mas "kapanek" rozhadzane ..
16. 9. 2010 15:18:37
https://webtrh.cz/diskuse/jak-se-zbavit-ramecku-u-obrazku/#reply558343
jj diky s tim rozhozenim v FF jsem se uz dival ale co s tim ?
16. 9. 2010 15:37:52
https://webtrh.cz/diskuse/jak-se-zbavit-ramecku-u-obrazku/#reply558342
risolohyna
verified
rating uzivatele
(9 hodnocení)
16. 9. 2010 15:41:58
no asi tam mas nejaku chybu v kode :) neviem presne, nepozeral som sa na cely kod .. ale je to niekde medzi header-om a textom .. mas tam asi tak 600-800px medzeru .. na winoch neviem ..
16. 9. 2010 15:41:58
https://webtrh.cz/diskuse/jak-se-zbavit-ramecku-u-obrazku/#reply558341
grysom
verified
rating uzivatele
(6 hodnocení)
16. 9. 2010 15:48:06
Zvládneš přeložit ty commenty? Chtělo by to, vypadá to blbě. Pokud chceš pomoct, tak napiš PM. :)
16. 9. 2010 15:48:06
https://webtrh.cz/diskuse/jak-se-zbavit-ramecku-u-obrazku/#reply558340
border:none;
---------- Příspěvek doplněn 16.09.2010 v 16:01 ----------
od headeru po menu mas dieru pre cely tank, tam ma byt obrazok, ci to mas zle?
---------- Příspěvek doplněn 16.09.2010 v 16:06 ----------
#header {
width: 1000px;
height: 235px;
margin: 0 auto;
padding: 0px;
background: url(images/img03.jpg) no-repeat left top;
}
tu si to images/img03.jpg zmen za:
(http://www.farmarske-trhy-ostrava.cz/wp-content/themes/moje/images/img03.jpg)
respektive: (../images/img03.jpg)
v google chrome totiz ten obrazok nieje vidiet
16. 9. 2010 15:58:47
https://webtrh.cz/diskuse/jak-se-zbavit-ramecku-u-obrazku/#reply558339
Pro odpověď se přihlašte.
Přihlásit