artildo
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPress Social Login] Shortcodes not workingThe same. With 2.0.3 it worked, 2.1.3 – doesn’t. Actions – the same stuff, not working.
Forum: Plugins
In reply to: [FeedWordPress] [Plugin: FeedWordPress] XML Errors ReportedSame stuff – get the message when I place RSS widget and try input mysite.com/?feed=rss2 as the RSS feed URS.
Forum: Fixing WordPress
In reply to: Child theme CSS breaks for Page TemplatesActually, i found a plugin which allows custom CSS for any page:
Custom CSS for Posts and PagesI think, this is a good solution for specific customization of pages.
Forum: Fixing WordPress
In reply to: Child theme CSS breaks for Page Templatesalchymyth
Worked great! So now I have ‘singular’ excluded from body class and sidebar formatting is applied for the Template page.
If I want a specific customization for a template page, i think I need to go as WPyogi proposed:
body.page-template-events-page-php then put the rest selectors here {
styles here;
}Forum: Fixing WordPress
In reply to: Child theme CSS breaks for Page TemplatesWPyogi
Looks promising. I’ll try your coding, and will post about the results (maybe tomorrow)
Forum: Fixing WordPress
In reply to: Child theme CSS breaks for Page Templateswpcanyon
Yeap, and it results in such body class:
<body class="page page-id-220 page-template page-template-events-page-php logged-in admin-bar no-customize-support single-author singular two-column left-sidebar">
See the events-page-php? This must be included in style.php somehow (at least for width of content, primary and secondary)
So, here 2 images:
incorrect, events-page.php based.
correct, sidebar-page.php basedForum: Fixing WordPress
In reply to: Child theme CSS breaks for Page TemplatesWPyogi
Sure it uses header.php (coming from parent theme).
i quite modified index.php and content.php. They uses child theme style.css and work fine, I also may rename index to home.php and it works as post page when the front page is static. This is only child pages that cause problems. Problems for me – parameters of ‘primary’, ‘content’ and ‘secondary’ areas.
I feel that I must add some information to child style.css in order to take into account all template pages I need. But how should I reflect this in style.php?
Or should I create specific header.php for that only page?
Forum: Fixing WordPress
In reply to: Child theme CSS breaks for Page TemplatesWPyogi
What i have in my Child theme folder (only relevant stuff is mentioned):
- style.css //without any relation to any custom Template files
- index.php //shaped for my goals
- events-page.php //complete copy of parent theme sidebar-page.php with added Template Name line.
So, style.css and events-page.php do not know about existing of each other. Just lie in one folder.
So how i could define the page-specific style in my style.css? ThanksForum: Fixing WordPress
In reply to: Child theme CSS breaks for Page TemplatesSo my guess is that I must somehow give style.css information of page-template-events-page-php, which is retrieved through body_class()
Forum: Fixing WordPress
In reply to: Child theme CSS breaks for Page TemplatesUnfortunately, it’s on localhost.
As for the second question, I didn’t get the point. Both style.css and events-page.php (this Template File) are both lying in the Childe theme folder. I didn’t put way for style.css in the specially. The template copies the content of sidebar-apge.php.
I guess, it could be something around header.php.. Whel I look to the page coding, I see:
for sidebar_php based page:
<body class="page page-id-182 page-template page-template-sidebar-page-php logged-in admin-bar no-customize-support single-author two-column left-sidebar">
for events-page based page:
<body class="page page-id-220 page-template page-template-events-page-php logged-in admin-bar no-customize-support single-author singular two-column left-sidebar">
Forum: Fixing WordPress
In reply to: Custom fields mess when using load_templateStill no ideas..
Forum: Fixing WordPress
In reply to: Custom fields mess when using load_templateThe screenshot is actually taken from the page layout, not “single post layout”, of course.
Forum: Fixing WordPress
In reply to: Two sidebarsThe blue menu is just an example, there will be social widgets in place of the menu. The idea is that they must be to the right of the posts.
Forum: Fixing WordPress
In reply to: Two sidebarsRajapress,
you suggest to put id like ‘left-sidebar’ and omit id description in CSS, thinking ‘left-sidebar’ would be a new class. It doesn’t work this way – it must be described as #left-sidebar in CSS, and under class .left-sidebar.
WPyogi,
unfortunately, I have the stuff on localhost. But I reuploaded the screenshot to a new hosting, have a look.
And this is whole CSS coding that regulates the whole stuff:
.left-sidebar #primary { float: right; margin: 0 0 0 -25%; /*space for the whole sidebar with margins*/ width: 100%; } .left-sidebar #content { margin: 0 0 0 25%; width: 50%; } .left-sidebar #left { float: left; margin-left: 3%; margin-right: 0; width: 20%; } .left-sidebar #right { float: right; margin-left: 0; margin-right: 3%; width: 18%; }
Forum: Fixing WordPress
In reply to: Two sidebarsDoes anybody know?