How to update CSS across 50 sites?

I am in a strange dilemma. I have about 50 sites that use a site template and each has its own alternate stylesheet. I have an update to an existing CSS class inside this alternate stylesheet. Does anyone have a recommendation on how I can make this update
instead of manually updating each and every stylesheet?
Is there an attribute in the manifest file that lets me overwrite an existing file? If that is possible I could wrap it in a feature and activate it across all 50 sites.

Have you looked at writing a PowerShell script to automate this process?
1. Export Site and AlternateCSSUrl to a file. Download the corresponding stylesheets as well.
2. Do a find and replace across all the style sheets.
3. Upload the style sheets to the respective sites as per the export file created in step 1.
This post is my own opinion and does not necessarily reflect the opinion or view of Slalom.
Thank you Guru! I have the updated stylesheet which I can upload to respective but not sure about export process. Do you have any articles?

Similar Messages

  • How to update .CSS file programatically

    Hi all,
    I am assigned this role of developing code for my project which involves providing the ability to update the CSS file once the user selects the option to update the CSS.
    This is a role based scenario and only the administrator has the privilege to do the same.
    I will appreciate if code is supported with your suggestions.
    Thanks in advance,
    Prasanna

    The people on this forum will apreciate it if you actually ask a question on Java.
    You should do more then state some vague facts.
    To manipulate files: http://java.sun.com/docs/books/tutorial/essential/io/index.html

  • How to apply CSS to Existing Site

    Help! I am a Macromedia Dreamweaver user. I manage a few simple sites on a volunteer basis. I was recently forced by a new computer purchase to upgrade to CS4 for Vista compatibility.
    I have never used Style Sheets. I've spent several hours this afternoon combing the web for instructions and found that most of the information assumes way more knowledge than I have, and the more basic articles seem to provide nice overviews of what CSS is and why one might want to use it, or possibly how to build a new site using CSS, but they have not answered my "how to" questions about my existing sites.
    My two most pressing unanswered question are these:
    1)  I seem to have successfully created a new CSS rule by selecting a section of text in the document, setting the Property Inspector to CSS and then naming the rule and choosing a font style and size (although the new rule dialog box never appeared - I did it all in the Property Inspector). Do I have to go through the whole site and apply this rule individually to each section of body text? The existing document has all the text set by its specific features (e.g. Arial Bold 10), not using "heading 1" "heading 2" etc.
    2) I do not use Dreamweaver to upload my finished documents. I use a site-managemet ftp page on my host server. Once I've created these CSS style rules, is there anyting that I need to upload besides my edited pages?
    Thank you in advance for help.

    If you are using the same font family, font size, colour, etc... you can use a separate style sheet and just use
    body {font-size:14px; font-family:arial, helvetica, sans-serif}
    this will make all your site the same body style.
    Do I have the book for you:  CSS in easy steps by Mike McGrath  isbn#1-84078-301-x
    It's a really good beginner's book to CSS.  And really easy to read!  Was a huge help to me in my beginnings of CSS.
    Also, www.lynda.com is a great resource.
    Hope this helps!
    You'll need to upload that extra css page with the rest of your site!
    Message was edited by: JulesN

  • How do I update a test site created in Muse.

    How do I update a test site created in Muse.
    Martyn King

    Hi Martyn,
    Please see this article for instuctions on how to access and edit your Muse site.
    -http://www.adobekb.com/signing_in_publishing.html#top7
    For additional Muse help please reference this page. - http://helpx.adobe.com/muse.html
    Kind regards,
    -Sidney

  • How to update flash sites without flash installed

    Hi,
    aside from using ICE, is there a way for someone to update a flash site with pictures and text who doesn't have flsah installed on their computer? i.e., how can you add as well as replace additional text and image files without doing it in flash and publishing a swf file everytime?
    Kind regards,
    Steve

    It depends on to what extent you mean to add new content.  You can add content dynamically, but the groundwork needs to be in place in the swf for the data that defines the content to be processed as well as for placement of the content.
    XML is one commonly used way of defining content.  All a person needs is an ascii text editor file to change the content of an XML file, and the ability to upload that file to a server (or an interface could also be created for them to create that document online, but that's another system in itself).

  • Question. How do I update / modify my site? Do I work with the original file "modify"?

    How do I update / modify my site? Do I work with the original file "modify"?

    Not sure why modify is in quotes ... but yes you work with the original and then publish again or export the HTML again.

  • Ios7...how do I delete the uninstalled ios7 update that is sitting on my ipad4 ??

    ios7...how do I delete the uninstalled ios7 update that is sitting on my ipad4 ??

    You cannot delete it. See the following CNET article:
    http://news.cnet.com/8301-13579_3-57604701-37/ios-6-holdouts-complain-about-larg e-unwanted-ios-7-download/
    Basically, the only way to get it off of the device is to install the update. There's a work-around which I've posted (you can find it linked below) but it can be involved...
    Also see the following discussion here at the Apple forums:
    https://discussions.apple.com/message/23186537#23186537
    Voice your displeasure at the following link. The only way Apple may change their ways with this issue is if people let them know:
    http://www.apple.com/feedback/ipad.html

  • Can't figure out how to keep two different sites...

    How can I keep two sites and be able to get to both of them. When I create an iMovie and go to the share tab to share it wants to put it in the last site I created. What if that's not the site I want it on? I can't figure out how to go back and forth to the sites and update them without them writing over each other...

    Baldredlion:
    Regarding Varkgirls suggestion about iWebSites:
    I use iWebSites to manage multiple sites.. It lets me create multiple sites and multiple domain files.
    If you have multiple sites in one domain file here's the workflow I used to split them into individual site files with iWebSites. Be sure to make a backup copy of your Domain.sites files before starting the splitting process.
    This lets me edit several sites and only republish the one I want.
    Do you Twango?
    15 MBP 2.16Ghz; G5 Dual Core 2GHz, 2G RAM, 250G HD; G4 Dual 1Ghz, 1.5G RAM;   Mac OS X (10.4.9)   22" LCD, 710G FW HDs, Canon: SD700IS/i850/LIDE 50, Epson R200, 30G iPod, 2G Nano

  • How to update multiple rows in one query using php

    i am new to this can any one help me how to update multiple rows at a time i am doing an school attendance page

    Often the situation is such that you have multiple courses across a range of dates.So students may take more than one course, and you need to track attendance for each course date. The following graphic demonstrates this:
    In such a situation, you need four database tables as follows:
    students (student_id, student_name, etc.)
    courses (course_id, course_name, etc.)
    students_courses (student_id, course_id)
    attendance (student_id, course_id, dater)
    A fifth table may also be needed to define the dates of courses, but you may also be able to build this array programmatically by using PHP's robust date functions, which can give you, for instance, all the Tuesdays and Thursdays between a start date and end date.
    The students_courses table simply keeps track of which students are taking which courses, so it has just two columns for the primary keys of both of the main tables. The attendance table is similar, but it also includes a date field. The following view of the attendance table demonstrates this:
    So if David's solution does cover your needs, consider yourself lucky, because this could quickly grow from a beginner-appropriate project to a moderately advanced one.

  • I just downloaded the new itunes and i cant figure out how to update the apps on my iphone when im on my computer?

    I just downloaded the latest itunes and i cant figure out how to update my iphone apps on my computer now.  I go to the toolbar on the top and press search for updates and it tells me that the latest version of itunes is already downloaded or that there are no updates available at this time.  Previously, i would be able to go to the apps page on itunes and then press search for updates and then download all. Then I would sync with my phone and both phone and computer would be updated.  Now I can only update on the phone and I know Im going to encounter where it tells me the info for downloading is too large to do it on your phone, hence my first question.....where do I go to update my apps on my computer????

    While you're in itunes, with the leftside window open, click on Apps. Then, look across the top middle of your itunes screen. You will see several choices: All, Iphone/iPad Touch, Ipad, Ipod Games, List, and Updates. 
    Clicking on each of these gives you a different view. 
    When you select ALL you will see all of your apps. When you select Updates you sill see only the apps that need to be updated. When you are in Updates you will see the Update button in the lower right corner.
    Hope this helps.

  • How to update a table (CUSTOMER) on a Report Server with the data from the same table (CUSTOMER) from another server Transaction server?

    I had an interview question that is:
    How to update a table (Customer) on a server ex: Report Server with the data from the same table (Customer) From another server ex: Transaction server?
    Set up steps so inset, update or delete operation takes place across the servers.
    It would be great if someone please enlighten me in details about this process in MS SQL Server 2008 R2.
    Also please describe would it be different for SQL Server 2012?
    If so, then what are the steps?

    I had an interview question that is:
    How to update a table (Customer) on a server ex: Report Server with the data from the same table (Customer) from another server ex: Transaction server?
    Set up steps so that inset, update or delete operation gets done correctly across servers.
    I was not sure about the answer, it would be great if someone please put some light on this and explain in details about this process in MS SQL Server 2008 R2.
    Also it would be very helpful if you please describe would it be different for SQL Server 2012? If so, then what are the steps?

  • How to update CU1 & CU2 to SCCM 2012 R2

    I Install SCCM 2012 R2 then I install CU1 immediately. After about 2 months, I install CU2 in Primary Site.
    Now I found some bug, but it should be fixed by CU, then I found this is because I didn't push CU to client.
    So I have some questions about Update CU
    After Install CU2, I find KB2970177 in server, click "about CM", show the version is
    5.0.7958.1303, but I click the properties of primary site. the version is
    5.00.7958.1000. Why? Did I finish the Update in primary site?
    If I only install SCCM 2012 R2, can I install CU2 without install CU1 first or I must install CU1 before install CU2?
    How to deploy CU to Client, I found the package of CU client update. But can I create applications to deploy? or Use software update or compliance? If have some post about these?
    I use default Configuration Manager Client Package to do the OSD, can I create new package with CU2?
    Thanks in advance!

    Check out this blog:
    http://blogs.technet.com/b/ryanan/archive/2014/01/31/applying-a-configmgr-hotfix-during-the-client-installation-of-an-os-deployment.aspx
    You essentially can create a new client package with the client hotfix files.
    Then adjust your Setup Windows and ConfigMgr TS step by adding the appropriate patch command to the properties section.
    I mentioned this in a blog I did about applying R2 CU1. Same process applies with CU2 of course.
    http://damonjohns.com/2014/04/08/applying-the-adk-8-1-update-and-cu1-for-system-center-2012-r2-configuration-manager/
    Cheers
    Damon

  • How to Update Adobe Air sdk in Flex sdk ?

    Hi Guys,
    I am currently using Flex sdk 3.0 to develop Air application and right now there is a need to use new Air 2.0 features in my application. I have downloaded the Air sdk from adobe site but couldn’t figure out how to update that sdk in my Flex sdk.
    Please tell me procedure to update the air sdk.
    Thanks,
    Mahesh

    Does this help?
    http://kb2.adobe.com/cps/495/cpsid_49532.html

  • How to update managed metadata column for all file in document library using powershell

    Hi,
    How to update managed metadata column for all file in document library using powershell?
    Any help on it.
    Thanks & REgards
    Poomani Sankaran

    Hi TanPart,
    I have changed the code which you have give in order to get the files from SharePoint 2010 Foundation  Document Library.But i am getting below error in powershell.
    Property 'ListItemCollectionPosition' cannot be found on this object; make sure it exists and is settable.
    Could you tell me which is the issues in it?
    See the code below.
    $web = Get-SPWeb http://ntmoss2010:9090/Site
    $list = $web.Lists["DocLib"]
    $query = New-Object Microsoft.SharePoint.SPQuery
    $query.ViewAttributes = "Scope='Recursive'";
    $query.RowLimit = 2000
    $caml = '<Where><Contains><FieldRef Name="Title" /><Value Type="Text">Process Documents/Delivery</Value></Contains></Where>' +
            '<OrderBy Override="TRUE"><FieldRef Name="ID"/></OrderBy>'
    $query.Query = $caml
    do
        $listItems = $list.GetItems($query)
        $spQuery.ListItemCollectionPosition = $listItems.ListItemCollectionPosition
        foreach($item in $listItems)
            #Cast to SPListItem to avoid ambiguous overload error
            $spItem = [Microsoft.SharePoint.SPListItem]$item;
            Write-Host $spItem.Title       
    while ($spQuery.ListItemCollectionPosition -ne $null)
    Thanks & Regards
    Poomani Sankaran

  • How to update paid apps in configurator

    how to update paid apps in configurator

    Are you a school or a business with many devices with similar configurations? If not, don't mess with it.
    If yes, Apple provides a number of resources. Here are a couple to get you started. Search the Apple support site for more.
    iPad Business & Education Support
    Tutorials - Intro to Apple Configurator

Maybe you are looking for

  • Prevent multiple users from editing/approving the same form SPD 2013,SP 2013

    Hello all, I have a workflow with a to do task, the task is assigned to a group so any of the users in that group can go in and do a quality check on form data and approve it.  How do I prevent multiple users from working on the same form? do I just

  • Error While Deploying ADF BC JSF Application on Oracle WebLogic Server 10.3

    Hi All, I am Deploying ADF BC JSF Application on Oracle WebLogic Server 10.3 My JDeveloper Version is - JDeveloper10.1.3.0.4 I followed Following Links for Deployment http://download.oracle.com/otn_hosted_doc/jdeveloper/11/demos/wls/wls.html http://b

  • How to change data element in table?

    Hello all:       I just need to change data element for a field in some Z table. I know I can do it through SE11 but I just want to make sure if there is anything I should be aware of? Are there any other steps I should perform apart from making chan

  • Streaming from an HD Source?

    I use uStream.TV to stream my broadcasts. I also have a BlackMagic Intensity Pro that I use to capture my video sources. Using Flash Media Live Encoder, I can stream my video from the Intensity Pro to uStream if the video coming from my source is NTS

  • Running applescript on an application startup

    I am very new in applescrpting.I would like to know how I can wite a script which needs to be run every time when sibelius application starts. Please help