davidismyfriend
Forum Replies Created
-
Forum: Your WordPress
In reply to: My photography BlogNothing apparently ??
Forum: Themes and Templates
In reply to: Multiple css for different screen resolutionsimg {zoom:x%} doesn’t work in firefox apparently, I am trying with -moz-transform but it does’t work the same way…
That’s a huge problem
how can I do a media query targeting only firefox for a separate stylesheet?something like this?
<link rel=”stylesheet” media=”only (-moz)” href=”style.css” />Forum: Themes and Templates
In reply to: Multiple css for different screen resolutionsOk I did it! with the two additional media queries,
the sizes correspond to the height of the screen:
From 0 to 870px : images are at 60% of their full size
From 871 to 1180px: images are 75%
From 1181 to more: 100%
Of course I also had to completely modify the stylesheets for each size, but it works great now.
if you change your screen res you’ll see it changeThanks again Ryanve
Forum: Themes and Templates
In reply to: Multiple css for different screen resolutionsThanks ryanve,
the single stylesheet solution seems to be the best, I’ll try this
I am referring to images in posts so yes the img tag I guess, I am new to this..
I would really appreciate if you take a look to my css and help me a little to implement the media queries in it.Forum: Your WordPress
In reply to: Photographer's Blog, your opinion?Thanks guys,
@drewdroid: Thanks it was meant to be as simple as possible, I am still not sure if I like the facebook and twitter buttons in it yet….
I don’t see that “monstrous” space but since you saw it I reduced the max width of images to 900 and recoded the css accordingly.@mobilephoneprices: Sometimes the simplest things are the best
@Kuyer: Thanks so much, it means a lot coming from a fellow photographer
Forum: Themes and Templates
In reply to: Space between images in my blogI am talking about the second post that is all text : https://news.davidshama.com/
Forum: Themes and Templates
In reply to: Space between images in my blogThanks, It worked!!
I have another question,
is it possible to for the text-paragraph to dynamically change width when the window is narrower?
So that the text never goes out of the window?
Keeping in mind that I don’t want the pictures to do the same and go one under the other…
I tried to put a class to the text and put min-width: 500px, max width: 1000px but it doesn’t change anything, i figured it was because the body, post, entry and header sizes are all fixed to 1000px width, so I tried changing those to min-width: 500px, max width: 1000px but it’s affecting the picture posts, and not only that, my alignment is all broken and now everything aligns to the left….
So how would it be possible to do that?
Thanks again for all the help!
D.Forum: Themes and Templates
In reply to: Space between images in my blogThanks a lot, I will try this…
when you say ” then to add the code that will automatically add class to the body tag”
are you are talking about <body <?php body_class(); ?>> ?
When I add this it changes all the layout, My content is no more centered even if I add margin-left:auto, margin-right: auto,
and my hr’s are cut to the end of the body…
I am a bit lost there…Forum: Themes and Templates
In reply to: Space between images in my blogThanks, I’ll do that, yes the p4, I’ll get rid of that, it’s the first time I code, so I am pretty happy it works…
So if I understand it well, I add get_post_class() in my fonction.php or index.php and I get all the prerecorded wordpress classes to be used in my css??
But there is no class in the list affecting only images…Forum: Themes and Templates
In reply to: Space between images in my blogwell thanks for answering, but i built that theme actually so I am asking where to put the hooks basically. probably in my loop?
Forum: Themes and Templates
In reply to: Overlapping PostsAnd now my posts are drifting to the left…
Any idea?Forum: Themes and Templates
In reply to: Overlapping PostsThanks
I just took away the float left of the posts
It worked pefectlyForum: Themes and Templates
In reply to: Overlapping PostsAnd my styles
[CSS code moderated per forum rules – a link to your site is enough to access the stylesheet(s)]
Forum: Themes and Templates
In reply to: Overlapping Poststhis is my loop
[code moderated per forum rules - please use the pastebin]