![]() |
|
Position of arrows in the Zenpage Theme - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Themes (https://forum.zenphoto.org/forum-5.html) +--- Thread: Position of arrows in the Zenpage Theme (/thread-7420.html) Pages:
1
2
|
Position of arrows in the Zenpage Theme - huogas - 01-08-2010 I tried a fiew others, and always come back to the ZenPage Theme. I like it but I have a problem with the positions of the arrows to go from one picture to another. These arrows are positioned in the Title section. Would it be easy to move these arrows just below the picture, at the right of the description ? Or using the keyboard arrows to go from one to another ? If feasible, it it something that someone without PHP knowledge can do ? Thanks Gaston Position of arrows in the Zenpage Theme - Laurent - 01-08-2010 Yes How can change these in the css file of the zenpage theme. Laurent Position of arrows in the Zenpage Theme - acrylian - 01-08-2010 Glad you like the theme..;-) As Laurent said actually no PHP is needed, just be plain HTML/CSS. Position of arrows in the Zenpage Theme - huogas - 01-08-2010 Thanks Laurent and Malte. Yes I like it. Simple, quite complete, efficient (except for the arrows positioning...;-)) I have looked at .imgnav class and, well...I think I will finally have to learn CSS... To get me started, could you do 2 things for me: -give me a good url address to learn CSS Thanks Gaston Position of arrows in the Zenpage Theme - acrylian - 01-08-2010 http://www.w3schools.com/ is a quite good site in English I think. If you want to place the arrows near the description, you might consider modifying the html as well and moving them als directly. Position of arrows in the Zenpage Theme - Laurent - 01-08-2010 You also have this site If you want to change the navigation arrow just cut this code : ">« "> »
Position of arrows in the Zenpage Theme - huogas - 02-08-2010 Thanks again Malte and Laurent (yes I'm french ... canadian). I will try that. Gaston Position of arrows in the Zenpage Theme - huogas - 02-08-2010 Wow! It works quite well. Still a change to make to have the description beside the 2 arrows. I will find how to do it. Tell me, it it possible, when we click the arrows, to keep the top of the picture at the same relative position from the top of the window(instead of going to the top of the page on every click) ? Gaston Position of arrows in the Zenpage Theme - acrylian - 02-08-2010
Position of arrows in the Zenpage Theme - huogas - 02-08-2010 I think that using the "page internal anchors" is a good idea. I will try it. Do you think that it is possible to use the keyboard arrow keys as a way to go from one picture to another ? Thanks Gaston Position of arrows in the Zenpage Theme - acrylian - 02-08-2010 See here: http://www.w3schools.com/TAGS/ref_standardattributes.asp Position of arrows in the Zenpage Theme - Laurent - 02-08-2010 Sure, paste this : ` ` PS: This code is not from me, but i dont' remember where i found it ! Laurent Position of arrows in the Zenpage Theme - huogas - 03-08-2010 Wow! Laurent, are you a wizard ? I just have to install anchors right above the image and "branch" there on an arrow click. Thanks, Gaston Position of arrows in the Zenpage Theme - Laurent - 03-08-2010 ;-) Laurent Position of arrows in the Zenpage Theme - huogas - 03-08-2010 Is there a reason why this modification (the one about using the keyboard arrows)would not be part of the core ? Gaston Position of arrows in the Zenpage Theme - sbillard - 04-08-2010 Well, if we put everything into the core we would have to come up with a new name and philosophy for Zenphoto. But, of course, it is always possible to create a plugin that would add this to themes when the site owner chooses. Anyone can create a plugin. this one would be fairly simple to do. Just place all that code into a string and pass it to the Should you (or any one else) choose to make such a plugin, let us know. We will add it to our list of third party plugins. Position of arrows in the Zenpage Theme - huogas - 04-08-2010 Thanks. I will try that. Gaston Position of arrows in the Zenpage Theme - acrylian - 04-08-2010 Just to add, things like keyboard navigation are also theme decisions. Position of arrows in the Zenpage Theme - huogas - 04-08-2010 Malte In this specific case, do you see any bad side effects ? Gaston Position of arrows in the Zenpage Theme - Laurent - 04-08-2010 I did it (the plugin) with another code. I think it's better. Laurent |