mtomas7 / tiny-framework Goto Github PK
View Code? Open in Web Editor NEWTiny Framework WordPress theme
License: GNU General Public License v2.0
Tiny Framework WordPress theme
License: GNU General Public License v2.0
Hi
Any chance we could remove the !important use on .content-area section. The reason appears to be a line removing the background-image using !important, so I cannot overwrite it in my child-theme (without using !important). Since we never set a background on .content-area section in the child theme, could we just change the definition so that we only reset the background on the .content-area article (as that is the only one actually having a background set (see public_html/wp-content/themes/tiny-framework/style.css:2361).
VisualComposer is using the <section element, but I cannot set a background on them because the parent theme overwrites them.
Could we change the styling so that we do not unset the background on sections but only do it on articles?
So in style.css:2348, change
/* Remove content bottom border for a single page, attachement page and for the last post in archive view listing */
.attachment .content-area article,
.content-area article:last-child,
.content-area section, /* section is for 404.php and content-none.php */
.page .content-area article {
background-image: none!important;
border-bottom: 0;
margin-bottom: 24px;
margin-bottom: 1.5rem;
}
to
/* Remove content bottom border for a single page, attachement page and for the last post in archive view listing */
.attachment .content-area article,
.content-area article:last-child,
.content-area section, /* section is for 404.php and content-none.php */
.page .content-area article {
border-bottom: 0;
margin-bottom: 24px;
margin-bottom: 1.5rem;
}
/* Remove the background on articles in the main content area. */
.attachment .content-area article,
.content-area article:last-child,
.page .content-area article {
background-image: none!important;
}
Cheers
Hi,
in https://github.com/mtomas7/tiny-framework/blob/master/header.php#L144 header-images which are smaller than the header are rejected. Would it possible to make this behaviour configurable?
Best regards,
Michael.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.