Thomas Pientka
Forum Replies Created
-
AuthorPosts
-
Thomas PientkaParticipant
hey bill 😉
that’s crazy – this is what i see runnning firefox 33.0.2
Attachments:
Thomas PientkaParticipantthanks bill this is working!
Thomas PientkaParticipantThanks Bill, now everything is perfect and you can close this topic!
Thomas PientkaParticipantone more annoying thing wass that not displaying the default standard post format, it will keep the tag after that input label, so it will show a white line instead of the label.
i finished that with the following css:
#post-formats-select br { display: none; } input.post-format { display: block; margin-top: -10px; } #post-formats-select input[type="radio"] { visibility: hidden; }
it will disable the br tags and hide the radio buttons. in the end it will put all the post format labels underneath (like they have an br tag).
doesn’ it look great now?
thomasAttachments:
Thomas PientkaParticipanthey bill, i solved nearly all of the issues.
i found out that i can at least hide the standard post (so it’s not available to choose).
#post-format-0, .post-format-standard { display:none; }
i even found a way to replace the icons via css:
.post-format-icon.post-format-video:before, .post-state-format.post-format-video:before, a.post-state-format.format-video:before { content: "\f231"; }
i choosed the icon from this http://melchoyce.github.io/dashicons/ to get the right font-code.to change the labels of post format section, i add this to the functions.php of the theme:
// change post formats label function rename_post_formats( $safe_text ) { if ( $safe_text == 'Galerie' ) return 'Slideshow'; if ( $safe_text == 'Video' ) return 'GoogleMaps'; return $safe_text; } add_filter( 'esc_html', 'rename_post_formats' );
in wordpress i choose dashboard > settings > writing and change the default post format to picture – so when creating a new page the standard one is now a picture which works great and is update ready.
the only thing left is that i have to enter the googlemaps code in a field called “video code” – i did not find a solution for that (is that a wordpress field or from the theme?).
have a great
week-end
thomasThomas PientkaParticipanthey bill i achieved everything i want to, you can close this thread.
by the way i also managaged to have the sidebar shown only in desktop mode and not in mobile, there the whole content is shown.
regards
thomasThomas PientkaParticipanthey bill maybe you misunderstood. if the content is under the picture the height of that div is set.
so if there is more content a scrollbar will be on the right. that’s fine in desktop mode. but inconvienant for mobile users. also this can lead to another layout issue: i set the height to: 515px which is good for the content for the vita page. at the home page i have to lines saying hello.
in dekstop mode this is no problem (it’s on the right overlay of the image).
but in mobile mode this makes the vita page with a scrollbar and the homepage without a scrollbar but a 500px box that is obviously not filled with any content.so it would be cool to set the height of the #home-sidebar, #panel not to a special px but let the content be the decision. this will make the whole layout more persistent and reliable.
thomas
Thomas PientkaParticipantwell as far as i know i got android 4.4.3 and i can see svgs that i implemented in websites the same way like i did here /e.g. http://www.it-findik.net (there i can see the logo crisp and clear).
i just check by using this file with the visual theme: https://www.it-findik.net/logo.svg
and noticed that the failure is the svg itself, so the theme is fully compatible.
if you thing about flat design svg is the art of choice in these days, i think it will even replace the .ico format in a few years.Thomas PientkaParticipantoh my client will never have figured this out 😉
i changed the page-home.php and now it loads the content from the page.
thanks
thomasThomas PientkaParticipanthey bill, this is looking good for the menu!
is it possible to have the whole text content underneath the picture?
for mobile users you will have a scrollable content plus a scrollbar on the side from the browser of the phone. it would be cool only to have that browser scrollbar and see the whole text.
i tried to set the height to auto, but this will shrink it to the beginning.
i noticed that in responsive mode you put the text content from the home slide also underneath in a box with a given height. on a normal page without picture everything works fine (you can see the wohle content no matter how long it is).thomas
Thomas PientkaParticipanthey bill, this is looking good for the menu!
Thomas PientkaParticipantThis reply has been marked as private.Thomas PientkaParticipantcool that’s working great!
thank you.Thomas PientkaParticipantoh i am sorry – it’s working for fullwidth and standardtemplate (without feature image).
also not working for the slideshow homepage.i like to have those pages also with a gap to the menu!
Thomas PientkaParticipanthey bill, thats fantastic!
only the slideshow page seems to to be affected.
i just notice also if you choose a standard page templat with a feature image (the menu is still overlayed over the image). -
AuthorPosts