Newbie Theme Dev, Syntax Question
-
Hi!
I am experimenting with the layout style for titles (post headers) in the theme that I am developing (for myself initially).I want the post titles to be like this:
———————————————-
[pretty [pretty
icon] [POST TITLE TEXT] icon]
———————————————-
(Hope this comes out ok!)
I want the titles to be scalable so that they re-size when I reduce the size of the viewport.I thought I’d try using a table to achieve this.
Since I am trying it on the Page section initially, I went into page.php and put:<div class=”styling_table”>
<table (lots of properties) width=”96%”>
<tr>
<td> <img src=”.images/post_header_left.gif” width=40 height=70></td>
<td><?php the_title(); ?> </td>
<td><img src=”.images/post_header_right.gif” width=40 height=40></td>
</tr>
</table>But the images don’t appear! (The text does)
I can’t work out why – I have moved them to the main dir, checked the names, tried a couple of other syntaxes for the path names…
But I haven’t got enough experience to do anything more..
Can you help me with advice on how to get the pictures to appear in the table?
Hope you can help!The page is at https://www.vikingprincess.net/
Johanna
- The topic ‘Newbie Theme Dev, Syntax Question’ is closed to new replies.