Everything posted by Old Castle
-
Inset line with photoshop
Hi, I would like a little help here in how to achieve an inset line with a white (light) background with photoshop. I want to do something like this http://themes.mysitemyway.com/infocus/ I can do it with dark backgrounds, but I could not so far achieve this effect in a light background. Any tip?
-
1kb css grid
Hi all, I am kind starting to work with grid layouts for web and I am using 1kbgrid.com for my projects. It's really good and I like it. So far, I am not having any kind of issues. But I've talking with some friends and they said that grid system is "too simple" and for big websites wouldn't be good to use. As I said, so far I didn't see any problem. Finally my question is. Looking at the link http://www.1kbgrid.com/css/grid.css . Do you see any room to improve it or what would you do different and why? Best,
-
Wordpress - Grid-style for first 4 posts then regular display for the rest?
It's not clear. So, do you want to use a grid css system, right? But only in the first posts. I use http://www.1kbgrid.com ... it's very easy to implement. To do this, count your posts and use IF structure. Sorry, if I cannot give you more details. I am not so good at coding.
-
I need help to reproduce this amazing background
My original question is how to do in photoshop the file bg_grain.png ? thanks
-
I need help to reproduce this amazing background
Yeap.. to make the grain effect is simple.The issue is not that. Sorry if I wasn't clear. What I want to do, is to save in a transparent png file just the "grain effect". Like you can see here http://www.kriesi.at/themes/avisio/wp-content/themes/avisio/images/skin1/bg_grain.png I don't know how to save just the effect. Thanks for your reply.
-
I need help to reproduce this amazing background
Hi all, I would like to know how can I make a grain transparent file in photoshop? This file is to be used as a "grain" effect in a website background. Since a grained background is hard to slice, this website http://www.kriesi.at/themes/avisio/ came out with this idea. I really like. The grain effect that you see in the on blue is a separated file. Any idea how to do it?
-
CMS HELP!
It's not clear what you want.
-
How do I check if I have a logo?
I fixed the problem with below code: <?php if (file_exists(TEMPLATEPATH . '/images/logo.png')) { ?> <img src="<?php bloginfo('template_directory'); ?>/images/logo.png" alt="Logo" /> <?php } else { ?> <h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1> <h2><?php bloginfo('description'); ?></h2> <?php } ?>
-
How do I check if I have a logo?
If I put the real path, it still not showing the logo. If I change the code to the one you suggested, I can see the logo.
-
How do I check if I have a logo?
Thanks for your help. I tried the following code, but its shows directly the bloginfo. <?php $file = get_bloginfo('stylesheet_directory') . "/images/logo.png"; if (file_exists($file)) { ?> <img src="<?php bloginfo('template_directory'); ?>/images/logo.png" alt="Logo" /> <?php } else { ?> <h1>/"><?php bloginfo('name'); ?></h1> <h2><?php bloginfo('description'); ?></h2> <?php } ?>
-
How do I check if I have a logo?
Hi guys, I need a little help here: Here is the situation: I'm building a WP theme and I want in the header that it checks if there is a logo.png file. If this file exists, so show it. If not, display the bloginfo () function. So far I try something like this, but it's not working: <?php $file = get_bloginfo('stylesheet_directory') . "/images/logo.png"; if ($file !== FALSE) { ?> <img src="<?php bloginfo('template_directory'); ?>/images/logo.png" alt="Logo" /> <?php } else { ?> <h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1> <h2><?php bloginfo('description'); ?></h2> <?php } ?> Thanks in advance,
-
PHP doesn't load a page
Thank you so much! Things are working now. I really appreciated your help. Cheers,
-
PHP doesn't load a page
Yes, I am sure. Ok. Attached are all the files related to this page. I cannot see any syntax error. This code isn't my. I am just try to fix it. files.zip
-
PHP doesn't load a page
Someone could help me here?
-
How much PHP>?
Depends how far you want to go. Hobby, Amateur or Professional. Just keep one thing on mind. No one knows everything. It's a continuous learning process.
-
PHP doesn't load a page
We are improving. Thanks for your tips, now I can load the page, but not the content :-) as you can see on http://www.redbambooproductions.com/news.php . Just click in any picture and you will see the error.
-
PHP doesn't load a page
ohhh.. I didn't know about the shorttag syntax. Ok. I will change everything to full syntax and give a shot.
-
PHP doesn't load a page
Ok, I will take a look. But could please explain the meaning of this? <?=$totalrec?> I can see structures like above around the code. For example: <?=$row['title']?> <?=StripSlashes($row['detail'])?> What that "=" signal is doing there? Is this a short come for something that I don't know?
-
PHP doesn't load a page
I applied your suggestion, but when I try to valid the PHP syntax I got this error: Parse error: syntax error, unexpected '=' in - on line 117 Errors parsing -
- PHP Tables
-
PHP doesn't load a page
Thanks for your reply. I will check your suggestions.
-
PHP Tables
I don't know how to do this, but I would try to count the number of news you want to show. Than for even you give a background and to odd another background.
-
PHP Tables
It's sure that I am not the right guy to help you, but would be easier you style this by CSS? I think what you need to do is "just" make PHP print two different classes. One to each colour. Than you style this with CSS. If I said bulsh**t here, just ignore me :-) Cheers,
-
PHP doesn't load a page
As I said before. This is not my code! I am just trying to fix it.
-
Designer Vs Developer
Guys, do you remember the term "Web Master"? From 90's when the Internet started to show off :-) I think this term is back !! hahah I am a one person company :-) I don't have choice, I cannot afford to pay an employee, so I have to learn design and programming. To be honest, it's not easy. I am still not good and have a lot to learn ( I just posted a PHP question. Help me please!). But in the end, I believe I am becoming a better professional or at least a more complete one. About salaries, it's not your title that will define how much you earn, but how good you are. Cheers!