Forum Replies Created
-
AuthorPosts
-
February 6, 2016 at 2:50 pm in reply to: HELP! Creating full width-page template WITHOUT sidebar #178481
germandude
MemberHello Christoph,
that worked perfectly, thank you very much!
For everybody who is havin the same problem, this is the code of my page template:
<?php
/*
* Template Name: Page without Sidebar
*/add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );
add_filter( 'genesis_attr_entry-content', 'themeprefix_add_css_attr' );
function themeprefix_add_css_attr( $attributes ) {// add original plus extra CSS classes
$attributes['class'] .= ' ohnesidebar';// return the attributes
return $attributes;}
//loads the framework
genesis();Best regards,
AndréFebruary 6, 2016 at 12:31 pm in reply to: HELP! Creating full width-page template WITHOUT sidebar #178471germandude
MemberHello Christoph,
thank you very much for your answer.
The code snippet you provided me with does not exactly lead to the result that I wished for.
The newly created class affects the attributes of the whole website, including the header, menu and footer.
I aimed at creating a class that allows me to only change the attributes (particularly the width and padding) of the main content area between the main menu and the footer.
I get the result I wished for, when putting this code in the page template-file:
<?php
/*
* Template Name: Page without Sidebar
*/add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );
}//loads the framework
genesis();And by controlling the width of the page with a simple <div>-tag in the page-editor.
It seems to work, but it would feel „cleaner“ if I created a class in the php template-file.
Best regards,
Andrégermandude
MemberThank you for the positive feedback on the design. I am also very happy with the look.
Yes, you are right, my blog is not displayed optimally on all all devices, because I changed some things manually.
Unfortenately, I do not have time to take care of that at the moment.
Freelancing webdesigners are welcome to make me an offer for a fix of this problem.
germandude
Member@Carola
Thank you!
I also like the look of your website. Well done color scheme! 🙂
I did you include the images in your sidebar? Did you use plugins or did you include them manually?
germandude
Membergermandude
MemberThank you for your feedback!
germandude
MemberI know, was not able to figure out what I have to change.
I already tried a few things, but nothing worked so far.
Unfortenately, most tutorials explain how to build a responsive design/ theme from scratch, but not, how to adjust parts of the content.
February 21, 2015 at 11:54 am in reply to: Lifestyle Pro: Full width footer is driving me crazy :( #141662germandude
MemberThank you very much Victor, you just made my day! 🙂
Are there maybe any blogs or youtube-channels about WordPress (specificially Genesis) and/ or CSS you can recommend?
I have basic knowledge and would like to improve my skills.
germandude
MemberHey guys,
that you very much for the Input! Both of your suggestions sound good, I will try them both and let you know if which worked best for me.
Have a nice weekend!
Best regards,
Andrégermandude
MemberHello Carlo Manf,
I put the social media-icons back in the right header widget. You can see now what it looks like under handgepaeckguide(dot)de.
I am looking for a solution, where the header image is fully clickable and the social media icons stay in the right header widget area at the top of th header image.
Maybe you can push me in the right direction...
germandude
MemberHi Jodi,
thank you very much for your advice! 🙂
Changing the width of .title-area to 1100px makes the entire header-image clickable. But it also moves the right header-widget area out of postion.
I made two screenshots to illustrate the problem:
This ist the header with .title-area width=320px, with the social media-icons IN position:
http://koffer-fuer-handgepaeck.de/wp-content/uploads/2015/01/headerproblem1.png
This ist the header with .title-area width=1100px, with the social media-icons out of position:
http://koffer-fuer-handgepaeck.de/wp-content/uploads/2015/01/headerproblem2.png
Any other suggestions?
December 30, 2014 at 4:45 pm in reply to: Lifestyle pro: Infinite header/footer background image #135702germandude
MemberHi Tom,
thank you very much for your advice! 🙂
I just bought the theme and will try out the tutorials you referred to.
Best regards,
G.D. -
AuthorPosts