Tagged: child theme, CSS, update
-
AuthorPosts
-
September 5, 2013 at 10:19 pm #29098
What did you change? I am on a child theme with 2+ months of work behind me. I am not updating a theme where the developer says he changed class names. If it does not affect any CSS mods its fine, but I just could not tell just by reading the version.txt file.
September 6, 2013 at 3:41 am #139706Hi,
Have you tried creating a child theme?
Regards,
Josue
September 6, 2013 at 4:02 am #139707Like Mr. Sennbrink above, I too have a Child Theme, and I too am very concerned about this.
Your update says, “We have changed and added classnames in more than 30 files”… !!!
This could be a big problem with or without a child theme.
Please give us a list of the classes you have renamed and added, so I can do a search and replace on my Child Theme’s style.css and re-name the classes there to match. I have changed the styles of many classes via my Child Theme’s style.css. If those classes are renamed, then my styles will be assigned to class-names that no longer exist, so my styles won’t work.
I have built a large site on this theme, and added a lot of custom css. Without a list of the classname changes, I don’t know how I could make my Child Theme’s style.css work with the update.
Website: http://firehouseculturalcenter.org/
Child Theme style.css: http://firehouseculturalcenter.org/wp-content/themes/firehouse-theme/style.css?ver=1
September 6, 2013 at 8:03 am #139708We replaced all occurrences of entry-content with entry-content-wrapper, then we searched all files for “$content” strings and wrapped them into a div (entry-content). We further replaced all occurrences of post-title and main-title with post-title entry-title and main-title entry-title.
The reason is that entry-content has a semantic meaning (hatom feed) which is used by Google+ to fetch the article data of a blog page. the previous structure messed this feed up so we had to change it.
I copied this file list from our github repository:
404.php
archive.php
config-templatebuilder/avia-shortcodes/portfolio.php
config-templatebuilder/avia-shortcodes/postcontent.php
config-templatebuilder/avia-shortcodes/postslider.php
config-templatebuilder/avia-shortcodes/section.php
config-woocommerce/config.php
config-woocommerce/woocommerce-mod.css
css/base.css
css/layout.css
css/shortcodes.css
framework/php/class-framework-widgets.php
functions-enfold.php
includes/error404.php
includes/helper-post-format.php
includes/loop-archive.php
includes/loop-author.php
includes/loop-comments.php
includes/loop-index.php
includes/loop-page.php
includes/loop-portfolio-single.php
includes/loop-search.php
index.php
js/avia.js
taxonomy-portfolio_entries.php
template-archives.php
template-builder.php
September 6, 2013 at 8:10 am #139709Kriesi: Thank you for the information.
Josue: Next time, think for a moment before you post :)
-
AuthorPosts
- The topic ‘Changed and added classnames’ is closed to new replies.